diff options
Diffstat (limited to 'src/lib/libcrypto/dh/dh_ameth.c')
| -rw-r--r-- | src/lib/libcrypto/dh/dh_ameth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/dh/dh_ameth.c b/src/lib/libcrypto/dh/dh_ameth.c index 40e0202bff..119ac615a6 100644 --- a/src/lib/libcrypto/dh/dh_ameth.c +++ b/src/lib/libcrypto/dh/dh_ameth.c | |||
| @@ -275,8 +275,7 @@ static int dh_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) | |||
| 275 | return 1; | 275 | return 1; |
| 276 | 276 | ||
| 277 | err: | 277 | err: |
| 278 | if (dp != NULL) | 278 | free(dp); |
| 279 | free(dp); | ||
| 280 | if (params != NULL) | 279 | if (params != NULL) |
| 281 | ASN1_STRING_free(params); | 280 | ASN1_STRING_free(params); |
| 282 | if (prkey != NULL) | 281 | if (prkey != NULL) |
