mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
fix sequence error
This commit is contained in:
parent
f5aa829bd0
commit
af087e1103
1 changed files with 2 additions and 2 deletions
|
|
@ -384,7 +384,9 @@ static GIOFuncs irssi_ssl_channel_funcs = {
|
|||
|
||||
gboolean irssi_ssl_init(void)
|
||||
{
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x10002000L)
|
||||
int success;
|
||||
#endif
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
if (!OPENSSL_init_ssl(OPENSSL_INIT_SSL_DEFAULT, NULL)) {
|
||||
|
|
@ -411,8 +413,6 @@ gboolean irssi_ssl_init(void)
|
|||
store = NULL;
|
||||
/* Don't return an error; the user might have their own cafile/capath. */
|
||||
}
|
||||
#else
|
||||
success = success = TRUE;
|
||||
#endif
|
||||
|
||||
ssl_inited = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue