diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/n_pkey.c')
-rw-r--r-- | src/lib/libcrypto/asn1/n_pkey.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/n_pkey.c b/src/lib/libcrypto/asn1/n_pkey.c index cfc00887e5..40d8fa4240 100644 --- a/src/lib/libcrypto/asn1/n_pkey.c +++ b/src/lib/libcrypto/asn1/n_pkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: n_pkey.c,v 1.34 2021/12/12 21:30:13 tb Exp $ */ | 1 | /* $OpenBSD: n_pkey.c,v 1.35 2021/12/25 13:17:48 jsing 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 | * |
@@ -316,7 +316,7 @@ i2d_RSA_NET(const RSA *a, unsigned char **pp, | |||
316 | goto err; | 316 | goto err; |
317 | 317 | ||
318 | ret = i2d_NETSCAPE_ENCRYPTED_PKEY(enckey, pp); | 318 | ret = i2d_NETSCAPE_ENCRYPTED_PKEY(enckey, pp); |
319 | err: | 319 | err: |
320 | EVP_CIPHER_CTX_cleanup(&ctx); | 320 | EVP_CIPHER_CTX_cleanup(&ctx); |
321 | NETSCAPE_ENCRYPTED_PKEY_free(enckey); | 321 | NETSCAPE_ENCRYPTED_PKEY_free(enckey); |
322 | NETSCAPE_PKEY_free(pkey); | 322 | NETSCAPE_PKEY_free(pkey); |
@@ -365,7 +365,7 @@ d2i_RSA_NET(RSA **a, const unsigned char **pp, long length, | |||
365 | 365 | ||
366 | *pp = p; | 366 | *pp = p; |
367 | 367 | ||
368 | err: | 368 | err: |
369 | NETSCAPE_ENCRYPTED_PKEY_free(enckey); | 369 | NETSCAPE_ENCRYPTED_PKEY_free(enckey); |
370 | return ret; | 370 | return ret; |
371 | 371 | ||
@@ -424,7 +424,7 @@ d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os, | |||
424 | goto err; | 424 | goto err; |
425 | } | 425 | } |
426 | 426 | ||
427 | err: | 427 | err: |
428 | EVP_CIPHER_CTX_cleanup(&ctx); | 428 | EVP_CIPHER_CTX_cleanup(&ctx); |
429 | NETSCAPE_PKEY_free(pkey); | 429 | NETSCAPE_PKEY_free(pkey); |
430 | return (ret); | 430 | return (ret); |