Changeset a72dc2b for lib/ssl_gnutls.c
- Timestamp:
- 2011-12-19T17:57:20Z (12 years ago)
- Branches:
- master
- Children:
- 9f958f7
- Parents:
- 25b05b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ssl_gnutls.c
r25b05b7 ra72dc2b 78 78 } 79 79 80 void *ssl_connect( char *host, int port, ssl_input_function func, gpointer data )80 void *ssl_connect( char *host, int port, gboolean verify, ssl_input_function func, gpointer data ) 81 81 { 82 82 struct scd *conn = g_new0( struct scd, 1 ); … … 86 86 conn->data = data; 87 87 conn->inpa = -1; 88 conn->hostname = g_strdup( host ); 89 conn->verify = verify && global.conf->cafile; 88 90 89 91 if( conn->fd < 0 )
Note: See TracChangeset
for help on using the changeset viewer.