]> git.ipfire.org Git - ipfire-3.x.git/blame - openssl/patches/openssl-1.0.0e-chil-fixes.patch
openssl: Update to 1.0.1.
[ipfire-3.x.git] / openssl / patches / openssl-1.0.0e-chil-fixes.patch
CommitLineData
0595faf5
MT
1diff -up openssl-1.0.0e/engines/e_chil.c.chil openssl-1.0.0e/engines/e_chil.c
2--- openssl-1.0.0e/engines/e_chil.c.chil 2010-06-15 19:25:12.000000000 +0200
3+++ openssl-1.0.0e/engines/e_chil.c 2011-09-21 17:32:03.000000000 +0200
4@@ -1261,6 +1261,11 @@ static int hwcrhk_insert_card(const char
5 UI *ui;
6 void *callback_data = NULL;
7 UI_METHOD *ui_method = NULL;
8+ /* Despite what the documentation says prompt_info can be
9+ * an empty string.
10+ */
11+ if (prompt_info && !*prompt_info)
12+ prompt_info = NULL;
13
14 if (cactx)
15 {
16@@ -1287,7 +1292,7 @@ static int hwcrhk_insert_card(const char
17
18 if (ui)
19 {
20- char answer;
21+ char answer = '\0';
22 char buf[BUFSIZ];
23 /* Despite what the documentation says wrong_info can be
24 * an empty string.