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

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