diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/network-openssl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/network-openssl.c b/src/core/network-openssl.c index e28c8c14..df84772c 100644 --- a/src/core/network-openssl.c +++ b/src/core/network-openssl.c @@ -771,6 +771,9 @@ int irssi_ssl_handshake(GIOChannel *handle) set_peer_cert_chain_info(tls, chan->ssl); set_server_temporary_key_info(tls, chan->ssl); + // Emit the TLS rec. + signal_emit("tls handshake finished", 2, chan->server, tls); + ret = 1; do { @@ -802,9 +805,6 @@ int irssi_ssl_handshake(GIOChannel *handle) } } while (0); - // Emit the TLS rec. - signal_emit("tls handshake finished", 2, chan->server, tls); - done: tls_rec_free(tls); X509_free(cert); |