summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2021-12-26 15:28:37 +0000
committertb <>2021-12-26 15:28:37 +0000
commit1114eb46d867a9780f1db3ad7d9232f036769a77 (patch)
tree6545df4adc98c14b88b05b7521a1f9c37b3c13c4 /src
parent20848689f21cd9fd0e4a9abb76ce69ac1ead31be (diff)
downloadopenbsd-1114eb46d867a9780f1db3ad7d9232f036769a77.tar.gz
openbsd-1114eb46d867a9780f1db3ad7d9232f036769a77.tar.bz2
openbsd-1114eb46d867a9780f1db3ad7d9232f036769a77.zip
Plug leaks
CID 345111
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/speed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/speed.c b/src/usr.bin/openssl/speed.c
index 5b9b324493..715ac89547 100644
--- a/src/usr.bin/openssl/speed.c
+++ b/src/usr.bin/openssl/speed.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: speed.c,v 1.24 2021/12/12 20:35:40 tb Exp $ */ 1/* $OpenBSD: speed.c,v 1.25 2021/12/26 15:28:37 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1425,7 +1425,7 @@ speed_main(int argc, char **argv)
1425 if ((ctx = EVP_CIPHER_CTX_new()) == NULL) { 1425 if ((ctx = EVP_CIPHER_CTX_new()) == NULL) {
1426 BIO_printf(bio_err, "Failed to " 1426 BIO_printf(bio_err, "Failed to "
1427 "allocate cipher context.\n"); 1427 "allocate cipher context.\n");
1428 return 0; 1428 goto end;
1429 } 1429 }
1430 if (decrypt) 1430 if (decrypt)
1431 EVP_DecryptInit_ex(ctx, evp_cipher, NULL, key16, iv); 1431 EVP_DecryptInit_ex(ctx, evp_cipher, NULL, key16, iv);