This patch fixes an invalid test that was failing in login_test.sh. Once
the user PIN has been initialized, it is usable -- there's no need to go
through the PIN expired stuff.
Thanks,
Kent
Signed-off-by: Kent Yoder <[email protected]>
diff --git a/testcases/login/login_test.sh b/testcases/login/login_test.sh
index 4fa541f..802b5d7 100755
--- a/testcases/login/login_test.sh
+++ b/testcases/login/login_test.sh
@@ -92,13 +92,6 @@ if test $? -ne $CKR_PIN_INVALID; then
exit
fi
-# Try to do something after logging in before PIN is set
-./digest_init $* -user -pass $DEFAULT_USER_PIN
-if test $? -ne $CKR_PIN_EXPIRED; then
- echo "TEST FAIL"
- exit
-fi
-
# Do a legitimate pin set for the USER
./set_pin $* -user -old $DEFAULT_USER_PIN -new $NEW_USER_PIN1
if test $? -ne $CKR_OK; then
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech