[rs-commit] r19 - /redwax-tool/trunk/redwax_openssl.c

rs-commit at redwax.eu rs-commit at redwax.eu
Sat Sep 4 18:31:15 CEST 2021


Author: minfrin at redwax.eu
Date: Sat Sep  4 18:31:13 2021
New Revision: 19

Log:
Openssl is silent if it does not like a PIN, speak up.

Modified:
    redwax-tool/trunk/redwax_openssl.c

Modified: redwax-tool/trunk/redwax_openssl.c
==============================================================================
--- redwax-tool/trunk/redwax_openssl.c	(original)
+++ redwax-tool/trunk/redwax_openssl.c	Sat Sep  4 18:31:13 2021
@@ -1378,6 +1378,11 @@
         if (!UI_process(ui)) {
             return buf;
         }
+        else {
+			redwax_print_error(r,
+					"Could not read %s. Must be between %d and %d characters.\n",
+					what, min, max);
+        }
     }
 
     return NULL;



More information about the rs-commit mailing list