From 7a54ba58e9051c76a817001c6eb65d79e085ba0c Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 23 Sep 2014 14:54:19 -0700 Subject: [PATCH] Test password verification with an empty password --- test/default/pwhash.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/default/pwhash.c b/test/default/pwhash.c index af3714d0..92806164 100644 --- a/test/default/pwhash.c +++ b/test/default/pwhash.c @@ -204,6 +204,9 @@ static void tv3(void) { "Y0!?iQa9M%5ekffW(`", "$7$A6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$" "a4ik5hGDN7foMuHOW.cp.CtX01UyCeO0.JAG.AHPpx5" }, + { "", + "$7$A6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$" + "a4ik5hGDN7foMuHOW.cp.CtX01UyCeO0.JAG.AHPpx5" }, { "Y0!?iQa9M%5ekffW(`", "$7fA6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4" "a4ik5hGDN7foMuHOW.cp.CtX01UyCeO0.JAG.AHPpx5" },