summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--krl.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 25fb4b680..b028fef82 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,9 @@
19 [Makefile.in acss.c acss.h cipher-acss.c cipher.c] 19 [Makefile.in acss.c acss.h cipher-acss.c cipher.c]
20 [openbsd-compat/openssl-compat.h] 20 [openbsd-compat/openssl-compat.h]
21 remove ACSS, now that it is gone from libcrypto too 21 remove ACSS, now that it is gone from libcrypto too
22 - djm@cvs.openbsd.org 2013/01/27 10:06:12
23 [krl.c]
24 actually use the xrealloc() return value; spotted by xi.wang AT gmail.com
22 25
2320130211 2620130211
24 - (djm) [configure.ac openbsd-compat/openssl-compat.h] Repair build on old 27 - (djm) [configure.ac openbsd-compat/openssl-compat.h] Repair build on old
diff --git a/krl.c b/krl.c
index e4e1788f4..5ed7bd7e5 100644
--- a/krl.c
+++ b/krl.c
@@ -14,7 +14,7 @@
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */ 15 */
16 16
17/* $OpenBSD: krl.c,v 1.8 2013/01/25 10:22:19 djm Exp $ */ 17/* $OpenBSD: krl.c,v 1.9 2013/01/27 10:06:12 djm Exp $ */
18 18
19#include "includes.h" 19#include "includes.h"
20 20
@@ -981,7 +981,7 @@ ssh_krl_from_blob(Buffer *buf, struct ssh_krl **krlp,
981 } 981 }
982 } 982 }
983 /* Record keys used to sign the KRL */ 983 /* Record keys used to sign the KRL */
984 xrealloc(ca_used, nca_used + 1, sizeof(*ca_used)); 984 ca_used = xrealloc(ca_used, nca_used + 1, sizeof(*ca_used));
985 ca_used[nca_used++] = key; 985 ca_used[nca_used++] = key;
986 key = NULL; 986 key = NULL;
987 break; 987 break;