Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/ssl_openssl.c

    rba5add7 rf920d9e  
    5656static gboolean ssl_handshake( gpointer data, gint source, b_input_condition cond );
    5757
    58 
    59 void ssl_init( void );
    60 {
    61         initialized = TRUE;
    62         SSLeay_add_ssl_algorithms();
    63 }
    6458
    6559void *ssl_connect( char *host, int port, ssl_input_function func, gpointer data )
     
    121115        if( !initialized )
    122116        {
    123                 ssl_init();
     117                initialized = TRUE;
     118                SSLeay_add_ssl_algorithms();
    124119        }
    125120       
Note: See TracChangeset for help on using the changeset viewer.