Mercurial > dovecot > core-2.2
changeset 20569:8b9bbc3948b5
lib-dcrypt: Do not unref key twice
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Thu, 04 Aug 2016 15:57:22 +0300 |
parents | 35e1cd019773 |
children | fe9af2fb0dae |
files | src/lib-dcrypt/dcrypt-openssl.c |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-dcrypt/dcrypt-openssl.c Wed Aug 03 10:14:35 2016 +0300 +++ b/src/lib-dcrypt/dcrypt-openssl.c Thu Aug 04 15:57:22 2016 +0300 @@ -1067,7 +1067,6 @@ dcrypt_openssl_unref_public_key(&pubkey); if (strcmp(binary_to_hex(data->data, data->used), input[9]) != 0) { - dcrypt_openssl_unref_public_key(&pubkey); if (error_r != NULL) *error_r = "No private key available"; return FALSE;