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

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