diff options
Diffstat (limited to 'src/usr.bin/openssl/pkeyutl.c')
| -rw-r--r-- | src/usr.bin/openssl/pkeyutl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/usr.bin/openssl/pkeyutl.c b/src/usr.bin/openssl/pkeyutl.c index dd52e93dfa..659c2b2916 100644 --- a/src/usr.bin/openssl/pkeyutl.c +++ b/src/usr.bin/openssl/pkeyutl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: pkeyutl.c,v 1.12 2018/01/28 09:21:34 inoguchi Exp $ */ | 1 | /* $OpenBSD: pkeyutl.c,v 1.13 2018/02/07 04:57:06 jsing Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006. | 3 | * project 2006. |
| 4 | */ | 4 | */ |
| @@ -310,8 +310,7 @@ pkeyutl_main(int argc, char **argv) | |||
| 310 | BIO_write(out, buf_out, buf_outlen); | 310 | BIO_write(out, buf_out, buf_outlen); |
| 311 | 311 | ||
| 312 | end: | 312 | end: |
| 313 | if (ctx) | 313 | EVP_PKEY_CTX_free(ctx); |
| 314 | EVP_PKEY_CTX_free(ctx); | ||
| 315 | BIO_free(in); | 314 | BIO_free(in); |
| 316 | BIO_free_all(out); | 315 | BIO_free_all(out); |
| 317 | free(buf_in); | 316 | free(buf_in); |
