diff options
author | tb <> | 2024-11-02 19:21:24 +0000 |
---|---|---|
committer | tb <> | 2024-11-02 19:21:24 +0000 |
commit | 8827eed559ba59fd0a1d63af9f2eff091ab07034 (patch) | |
tree | 1f5c79f3e13d7cdd00ddda0beeca1dc88ff1cf99 | |
parent | 84539d3040fdc6eed8a660240a9ecd7fb8b1aea9 (diff) | |
download | openbsd-8827eed559ba59fd0a1d63af9f2eff091ab07034.tar.gz openbsd-8827eed559ba59fd0a1d63af9f2eff091ab07034.tar.bz2 openbsd-8827eed559ba59fd0a1d63af9f2eff091ab07034.zip |
d2i_ECPKParameters(): unify return statement with rest of file
-rw-r--r-- | src/lib/libcrypto/ec/ec_asn1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_asn1.c b/src/lib/libcrypto/ec/ec_asn1.c index 8c99773512..006ad7662a 100644 --- a/src/lib/libcrypto/ec/ec_asn1.c +++ b/src/lib/libcrypto/ec/ec_asn1.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_asn1.c,v 1.104 2024/10/31 15:26:05 tb Exp $ */ | 1 | /* $OpenBSD: ec_asn1.c,v 1.105 2024/11/02 19:21:24 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -1143,7 +1143,8 @@ d2i_ECPKParameters(EC_GROUP **a, const unsigned char **in, long len) | |||
1143 | 1143 | ||
1144 | err: | 1144 | err: |
1145 | ECPKPARAMETERS_free(params); | 1145 | ECPKPARAMETERS_free(params); |
1146 | return (group); | 1146 | |
1147 | return group; | ||
1147 | } | 1148 | } |
1148 | LCRYPTO_ALIAS(d2i_ECPKParameters); | 1149 | LCRYPTO_ALIAS(d2i_ECPKParameters); |
1149 | 1150 | ||