Changeset 632f3d4
- Timestamp:
- 2012-04-10T09:14:58Z (13 years ago)
- Branches:
- master
- Children:
- 58b65b33, 6d23c68
- Parents:
- 9b767e9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_gnutls.c
r9b767e9 r632f3d4 69 69 static void ssl_deinit( void ); 70 70 71 static void ssl_log( int level, const char *line ) 72 { 73 printf( "%d %s", level, line ); 74 } 75 71 76 void ssl_init( void ) 72 77 { … … 84 89 } 85 90 initialized = TRUE; 91 92 gnutls_global_set_log_function( ssl_log ); 93 /* 94 gnutls_global_set_log_level( 3 ); 95 */ 86 96 87 97 atexit( ssl_deinit ); … … 367 377 return 0; 368 378 } 379 380 #if GNUTLS_VERSION_NUMBER >= 0x03000d && GNUTLS_VERSION_NUMBER <= 0x030012 381 if( ssl_errno == SSL_AGAIN ) 382 return 0; 383 #endif 369 384 370 385 return gnutls_record_check_pending( ((struct scd*)conn)->session ) != 0;
Note: See TracChangeset
for help on using the changeset viewer.