summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/asn1/bio_ndef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/bio_ndef.c b/src/lib/libcrypto/asn1/bio_ndef.c
index 3fd7f3c4c3..182ca52960 100644
--- a/src/lib/libcrypto/asn1/bio_ndef.c
+++ b/src/lib/libcrypto/asn1/bio_ndef.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_ndef.c,v 1.15 2023/03/11 16:02:06 tb Exp $ */ 1/* $OpenBSD: bio_ndef.c,v 1.16 2023/03/11 16:29:48 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -107,7 +107,7 @@ BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it)
107 107
108 if (aux == NULL || aux->asn1_cb == NULL) { 108 if (aux == NULL || aux->asn1_cb == NULL) {
109 ASN1error(ASN1_R_STREAMING_NOT_SUPPORTED); 109 ASN1error(ASN1_R_STREAMING_NOT_SUPPORTED);
110 return NULL; 110 goto err;
111 } 111 }
112 112
113 if ((ndef_aux = calloc(1, sizeof(NDEF_SUPPORT))) == NULL) 113 if ((ndef_aux = calloc(1, sizeof(NDEF_SUPPORT))) == NULL)