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
commit3ae829afc073897814891cd2bf3ff189654a3c78 (patch)
tree51ca555c2eb2811ae0696398fe8c8ffc713447ce /src
parentc19feae8963034f69e5d46de4d76c2a455dfbbd8 (diff)
downloadopenbsd-3ae829afc073897814891cd2bf3ff189654a3c78.tar.gz
openbsd-3ae829afc073897814891cd2bf3ff189654a3c78.tar.bz2
openbsd-3ae829afc073897814891cd2bf3ff189654a3c78.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...",