summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2021-12-26 15:31:24 +0000
committertb <>2021-12-26 15:31:24 +0000
commit2b668ae5fd00e0dfbe2269cc59cd48b321520667 (patch)
tree51ca555c2eb2811ae0696398fe8c8ffc713447ce /src
parent1114eb46d867a9780f1db3ad7d9232f036769a77 (diff)
downloadopenbsd-2b668ae5fd00e0dfbe2269cc59cd48b321520667.tar.gz
openbsd-2b668ae5fd00e0dfbe2269cc59cd48b321520667.tar.bz2
openbsd-2b668ae5fd00e0dfbe2269cc59cd48b321520667.zip
One more leak similar to previous.
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 715ac89547..2426e2351b 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.25 2021/12/26 15:28:37 tb Exp $ */ 1/* $OpenBSD: speed.c,v 1.26 2021/12/26 15:31:24 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 *
@@ -1035,7 +1035,7 @@ speed_main(int argc, char **argv)
1035 1035
1036 if ((hctx = HMAC_CTX_new()) == NULL) { 1036 if ((hctx = HMAC_CTX_new()) == NULL) {
1037 BIO_printf(bio_err, "Failed to allocate HMAC context.\n"); 1037 BIO_printf(bio_err, "Failed to allocate HMAC context.\n");
1038 return 0; 1038 goto end;
1039 } 1039 }
1040 1040
1041 HMAC_Init_ex(hctx, (unsigned char *) "This is a key...", 1041 HMAC_Init_ex(hctx, (unsigned char *) "This is a key...",