summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_int.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/a_int.c')
-rw-r--r--src/lib/libcrypto/asn1/a_int.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/a_int.c b/src/lib/libcrypto/asn1/a_int.c
index af5d64d056..7d17aae2a2 100644
--- a/src/lib/libcrypto/asn1/a_int.c
+++ b/src/lib/libcrypto/asn1/a_int.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_int.c,v 1.26 2015/03/19 14:00:22 tedu Exp $ */ 1/* $OpenBSD: a_int.c,v 1.27 2015/07/19 18:29:31 miod Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -310,7 +310,7 @@ d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp, long length)
310 310
311 /* We must malloc stuff, even for 0 bytes otherwise it 311 /* We must malloc stuff, even for 0 bytes otherwise it
312 * signifies a missing NULL parameter. */ 312 * signifies a missing NULL parameter. */
313 s = malloc((int)len + 1); 313 s = malloc(len + 1);
314 if (s == NULL) { 314 if (s == NULL) {
315 i = ERR_R_MALLOC_FAILURE; 315 i = ERR_R_MALLOC_FAILURE;
316 goto err; 316 goto err;