diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-12-26 15:31:25 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-12-26 15:31:25 +0000 |
commit | 37dfc9174201cfa5fdeb0c07d0b8fa6ccb25de29 (patch) | |
tree | 14d44089dbc06638ef58f15a6f0dac8585f0763c | |
parent | f488f064a10dd86cf903423e9f05ae85db803dd9 (diff) |
One more leak similar to previous.
-rw-r--r-- | usr.bin/openssl/speed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/speed.c b/usr.bin/openssl/speed.c index 715ac89547d..2426e2351bc 100644 --- a/usr.bin/openssl/speed.c +++ b/usr.bin/openssl/speed.c @@ -1,4 +1,4 @@ -/* $OpenBSD: speed.c,v 1.25 2021/12/26 15:28:37 tb Exp $ */ +/* $OpenBSD: speed.c,v 1.26 2021/12/26 15:31:24 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1035,7 +1035,7 @@ speed_main(int argc, char **argv) if ((hctx = HMAC_CTX_new()) == NULL) { BIO_printf(bio_err, "Failed to allocate HMAC context.\n"); - return 0; + goto end; } HMAC_Init_ex(hctx, (unsigned char *) "This is a key...", |