Commit c7e8947383c9dbed0d5d3952d959a9eca3ed782c
1 parent
91864fd9
Exists in
master
and in
3 other branches
Corrigindo mensagem no inicio da sessao SSL
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
telnet.c
@@ -3077,13 +3077,13 @@ static void ssl_init(H3270 *session) | @@ -3077,13 +3077,13 @@ static void ssl_init(H3270 *session) | ||
3077 | 3077 | ||
3078 | if(ssl_ctx == NULL) | 3078 | if(ssl_ctx == NULL) |
3079 | { | 3079 | { |
3080 | - lib3270_write_log(session,"%s","Initializing SSL context"); | 3080 | + lib3270_write_log(session,"SSL","%s","Initializing SSL context"); |
3081 | SSL_load_error_strings(); | 3081 | SSL_load_error_strings(); |
3082 | SSL_library_init(); | 3082 | SSL_library_init(); |
3083 | ssl_ctx = SSL_CTX_new(SSLv23_method()); | 3083 | ssl_ctx = SSL_CTX_new(SSLv23_method()); |
3084 | if(ssl_ctx == NULL) | 3084 | if(ssl_ctx == NULL) |
3085 | { | 3085 | { |
3086 | - popup_an_error(NULL,"SSL_CTX_new failed"); | 3086 | + popup_an_error(session,"SSL_CTX_new failed"); |
3087 | session->ssl_host = False; | 3087 | session->ssl_host = False; |
3088 | return; | 3088 | return; |
3089 | } | 3089 | } |