Commit dfe3a1e04553dc64f2f9f6bd6ee22f67a96bc889
1 parent
0e74ad97
Exists in
master
and in
5 other branches
Corrigindo mensagem no inicio da sessao SSL
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
po/pt_BR.po
@@ -5,7 +5,7 @@ msgid "" | @@ -5,7 +5,7 @@ msgid "" | ||
5 | msgstr "" | 5 | msgstr "" |
6 | "Project-Id-Version: pw3270 5.0\n" | 6 | "Project-Id-Version: pw3270 5.0\n" |
7 | "Report-Msgid-Bugs-To: \n" | 7 | "Report-Msgid-Bugs-To: \n" |
8 | -"POT-Creation-Date: 2012-11-05 11:23-0200\n" | 8 | +"POT-Creation-Date: 2012-11-06 09:03-0200\n" |
9 | "PO-Revision-Date: 2012-10-31 07:44-0200\n" | 9 | "PO-Revision-Date: 2012-10-31 07:44-0200\n" |
10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" | 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" |
11 | "Language-Team: Português <>\n" | 11 | "Language-Team: Português <>\n" |
src/lib3270/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 | } |