summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-11-02 19:21:25 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-11-02 19:21:25 +0000
commit96a6cea87afe426a2084bf2d448e41873d906840 (patch)
tree4b9caf239468b378a203bd351099fb90d5c48c03 /lib
parent023be5691af43448f785fafb7d68718e7b120903 (diff)
d2i_ECPKParameters(): unify return statement with rest of file
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/ec/ec_asn1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libcrypto/ec/ec_asn1.c b/lib/libcrypto/ec/ec_asn1.c
index 8c99773512c..006ad7662a0 100644
--- a/lib/libcrypto/ec/ec_asn1.c
+++ b/lib/libcrypto/ec/ec_asn1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ec_asn1.c,v 1.104 2024/10/31 15:26:05 tb Exp $ */
+/* $OpenBSD: ec_asn1.c,v 1.105 2024/11/02 19:21:24 tb Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project.
*/
@@ -1143,7 +1143,8 @@ d2i_ECPKParameters(EC_GROUP **a, const unsigned char **in, long len)
err:
ECPKPARAMETERS_free(params);
- return (group);
+
+ return group;
}
LCRYPTO_ALIAS(d2i_ECPKParameters);