summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorbcook <>2023-07-05 20:56:29 +0000
committerbcook <>2023-07-05 20:56:29 +0000
commit29823db1c61cf92dc6208ba56182d1dc7d0d2dd0 (patch)
tree4d65f27433caf515b636eb669cd051e9839593ee /src/lib
parent194f7bef0ed9b3c0ed5bf1624fcc3d50b1004cb1 (diff)
downloadopenbsd-29823db1c61cf92dc6208ba56182d1dc7d0d2dd0.tar.gz
openbsd-29823db1c61cf92dc6208ba56182d1dc7d0d2dd0.tar.bz2
openbsd-29823db1c61cf92dc6208ba56182d1dc7d0d2dd0.zip
don't return in a void function
ok tb@
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/ec/ecx_methods.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ecx_methods.c b/src/lib/libcrypto/ec/ecx_methods.c
index cc757d31b4..1040ee6fc3 100644
--- a/src/lib/libcrypto/ec/ecx_methods.c
+++ b/src/lib/libcrypto/ec/ecx_methods.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ecx_methods.c,v 1.6 2023/07/02 15:02:52 tb Exp $ */ 1/* $OpenBSD: ecx_methods.c,v 1.7 2023/07/05 20:56:29 bcook Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2022 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -486,7 +486,7 @@ ecx_free(EVP_PKEY *pkey)
486{ 486{
487 struct ecx_key_st *ecx_key = pkey->pkey.ecx; 487 struct ecx_key_st *ecx_key = pkey->pkey.ecx;
488 488
489 return ecx_key_free(ecx_key); 489 ecx_key_free(ecx_key);
490} 490}
491 491
492static int 492static int