510bcc2
diff -up openssl-1.1.0-pre6/engines/e_chil.c.chil openssl-1.1.0-pre6/engines/e_chil.c
510bcc2
--- openssl-1.1.0-pre6/engines/e_chil.c.chil	2016-08-04 16:00:47.000000000 +0200
510bcc2
+++ openssl-1.1.0-pre6/engines/e_chil.c	2016-08-05 16:50:13.860588775 +0200
510bcc2
@@ -1195,6 +1195,11 @@ static int hwcrhk_insert_card(const char
a1fb602
     UI *ui;
a1fb602
     void *callback_data = NULL;
a1fb602
     UI_METHOD *ui_method = NULL;
a1fb602
+    /* Despite what the documentation says prompt_info can be
a1fb602
+     * an empty string.
a1fb602
+     */
a1fb602
+    if (prompt_info && !*prompt_info)
a1fb602
+        prompt_info = NULL;
a1fb602
 
a1fb602
     if (cactx) {
a1fb602
         if (cactx->ui_method)