diff options
| author | tb <> | 2023-03-11 16:29:48 +0000 | 
|---|---|---|
| committer | tb <> | 2023-03-11 16:29:48 +0000 | 
| commit | 6ac5e73082febbf715e9d19f2d8af9f59caa6d5b (patch) | |
| tree | e074b68f18ef313b91f4864390c3039f41707ab6 /src | |
| parent | 93a58d355ac478c35ee8767288a3476f15872d6e (diff) | |
| download | openbsd-6ac5e73082febbf715e9d19f2d8af9f59caa6d5b.tar.gz openbsd-6ac5e73082febbf715e9d19f2d8af9f59caa6d5b.tar.bz2 openbsd-6ac5e73082febbf715e9d19f2d8af9f59caa6d5b.zip  | |
Switch an early return into goto err
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/asn1/bio_ndef.c | 4 | 
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) | 
