#if HAVE_SSL
if( wmnotify_infos.use_ssl == TRUE ) {
- len = SSL_read( ssl_infos.ssl, buffer, max_size ); /* Get reply & decrypt */
+ len = SSL_read( ssl_infos.ssl, buffer, max_size ); /* Get reply & decrypt. */
switch( SSL_get_error( ssl_infos.ssl, len ) ) {
case SSL_ERROR_NONE:
/* Success. */
SSL_METHOD *method;\r
SSL_CTX *ctx;\r
\r
- OpenSSL_add_all_algorithms(); /* Load cryptos, et.al. */\r
- SSL_load_error_strings(); /* Bring in and register error messages */\r
+ OpenSSL_add_all_algorithms(); /* Load cryptos, et.al. */\r
+ SSL_load_error_strings(); /* Bring in and register error messages */\r
method = SSLv2_client_method(); /* Create new client-method instance */\r
- ctx = SSL_CTX_new(method); /* Create new context */\r
+ ctx = SSL_CTX_new(method); /* Create new context */\r
if( ctx == NULL ) {\r
ERR_print_errors_fp(stderr);\r
abort();\r