Blame SOURCES/openssl-1.0.2i-chil-fixes.patch

cfec1a
diff -up openssl-1.0.2i/engines/e_chil.c.chil openssl-1.0.2i/engines/e_chil.c
cfec1a
--- openssl-1.0.2i/engines/e_chil.c.chil	2016-09-22 12:23:06.000000000 +0200
cfec1a
+++ openssl-1.0.2i/engines/e_chil.c	2016-09-22 13:49:32.532017102 +0200
cfec1a
@@ -1274,6 +1274,11 @@ static int hwcrhk_insert_card(const char
cfec1a
     UI *ui;
cfec1a
     void *callback_data = NULL;
cfec1a
     UI_METHOD *ui_method = NULL;
cfec1a
+    /* Despite what the documentation says prompt_info can be
cfec1a
+     * an empty string.
cfec1a
+     */
cfec1a
+    if (prompt_info && !*prompt_info)
cfec1a
+        prompt_info = NULL;
cfec1a
 
cfec1a
     if (cactx) {
cfec1a
         if (cactx->ui_method)