Changeset b7cd22d for lib/ssl_gnutls.c
- Timestamp:
- 2014-09-27T14:54:35Z (10 years ago)
- Branches:
- master
- Children:
- f75b3a7
- Parents:
- 0406d6a6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_gnutls.c
r0406d6a6 rb7cd22d 236 236 static void ssl_cache_add( struct scd *conn ) 237 237 { 238 size_t data_size ;238 size_t data_size = 0; 239 239 struct ssl_session *data; 240 240 char *hostname; … … 245 245 246 246 data = g_malloc( sizeof( struct ssl_session ) + data_size ); 247 if( gnutls_session_get_data( conn->session, data->data, &data ->size ) != 0 )247 if( gnutls_session_get_data( conn->session, data->data, &data_size ) != 0 ) 248 248 { 249 249 g_free( data );
Note: See TracChangeset
for help on using the changeset viewer.