diff options
author | Alexander Færøy <ahf@irssi.org> | 2013-06-25 21:35:13 +0000 |
---|---|---|
committer | ahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2013-06-25 21:35:13 +0000 |
commit | eb8dfc8cc933cd9bfc420900416bfcb09a6ff682 (patch) | |
tree | 6088dae29e709efe754c31b23882ae7aba3ac381 /src/core/network-openssl.c | |
parent | afa340ee84fe24683c5d8d619f3fafe73b75edef (diff) | |
download | irssi-eb8dfc8cc933cd9bfc420900416bfcb09a6ff682.zip |
Clean-up after ourselves
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5223 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/network-openssl.c')
-rw-r--r-- | src/core/network-openssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c index 89b6a0e9..514f748e 100644 --- a/src/core/network-openssl.c +++ b/src/core/network-openssl.c @@ -227,10 +227,12 @@ static gboolean irssi_ssl_verify(SSL *ssl, SSL_CTX *ctx, const char* hostname, i if (val_dane_check(NULL, ssl, danestatus, &do_certificate_check) != VAL_DANE_NOERROR) { g_warning("DANE: TLSA record for hostname %s port %d could not be verified", hostname, port); signal_emit("tlsa verification failed", 1, server); + val_free_dane(danestatus); return FALSE; } signal_emit("tlsa verification success", 1, server); + val_free_dane(danestatus); if (do_certificate_check == 0) { return TRUE; |