Changes in lib/ssl_gnutls.c [ba5add7:3e79889]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_gnutls.c
rba5add7 r3e79889 60 60 static gboolean ssl_handshake( gpointer data, gint source, b_input_condition cond ); 61 61 62 63 void ssl_init( void )64 {65 gnutls_global_init();66 initialized = TRUE;67 atexit( gnutls_global_deinit );68 }69 62 70 63 void *ssl_connect( char *host, int port, ssl_input_function func, gpointer data ) … … 129 122 if( !initialized ) 130 123 { 131 ssl_init(); 124 gnutls_global_init(); 125 initialized = TRUE; 126 atexit( gnutls_global_deinit ); 132 127 } 133 128
Note: See TracChangeset
for help on using the changeset viewer.