Changeset a72dc2b for lib/ssl_openssl.c


Ignore:
Timestamp:
2011-12-19T17:57:20Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
9f958f7
Parents:
25b05b7
Message:

Add verify argument to ssl_connect() so HTTPS-based stuff is also secure.
(Think of Twitter, but also MSN/Yahoo! authentication.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/ssl_openssl.c

    r25b05b7 ra72dc2b  
    6565}
    6666
    67 void *ssl_connect( char *host, int port, ssl_input_function func, gpointer data )
     67void *ssl_connect( char *host, int port, gboolean verify, ssl_input_function func, gpointer data )
    6868{
    6969        struct scd *conn = g_new0( struct scd, 1 );
Note: See TracChangeset for help on using the changeset viewer.