Subversion Repositories tpanel

Rev

Rev 185 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 185 Rev 235
Line 574... Line 574...
574
    DECL_TRACER("TSocket::initSSL()");
574
    DECL_TRACER("TSocket::initSSL()");
575
 
575
 
576
    if (mSSLInitialized)
576
    if (mSSLInitialized)
577
        return;
577
        return;
578
 
578
 
-
 
579
#if OPENSSL_API_COMPAT < 0x010100000
579
    SSL_library_init();
580
    SSL_library_init();
-
 
581
#endif
580
#if OPENSSL_SHLIB_VERSION < 3
582
#if OPENSSL_SHLIB_VERSION < 3
581
    ERR_load_BIO_strings();
583
    ERR_load_BIO_strings();
582
#endif
584
#endif
-
 
585
#if OPENSSL_API_COMPAT < 0x010100000
583
    ERR_load_crypto_strings();
586
    ERR_load_crypto_strings();
584
    SSL_load_error_strings();
587
    SSL_load_error_strings();
-
 
588
#endif
585
    mSSLInitialized = true;
589
    mSSLInitialized = true;
586
}
590
}
587
 
591
 
588
SSL_CTX *TSocket::initCTX()
592
SSL_CTX *TSocket::initCTX()
589
{
593
{