From e09eb765f4387097cc734392e9bc765bec296fe8 Mon Sep 17 00:00:00 2001 From: hniksic Date: Fri, 22 Apr 2005 08:12:59 -0700 Subject: [PATCH] [svn] Fix warning message text; mark the warning message as translatable. --- src/ChangeLog | 5 +++++ src/gen_sslfunc.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index d4ea3d07..61f178f3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-04-21 Hrvoje Niksic + + * gen_sslfunc.c (ssl_init): Fix warning message text; mark the + message as translatable. + 2005-04-21 Hrvoje Niksic * main.c (print_help): Print the EGD option outside the cluster of diff --git a/src/gen_sslfunc.c b/src/gen_sslfunc.c index 5b13f992..44b5414a 100644 --- a/src/gen_sslfunc.c +++ b/src/gen_sslfunc.c @@ -219,12 +219,14 @@ ssl_init () { if (!can_validate) { - logprintf (LOG_NOTQUIET, "Warrining validation of Server Cert not possible!\n"); + logputs (LOG_NOTQUIET, + _("Warning: validation of server certificate not possible!\n")); verify = SSL_VERIFY_NONE; } else { - /* break handshake if server cert is not valid but allow NO-Cert mode */ + /* break handshake if server cert is not valid but allow + NO-Cert mode */ verify = SSL_VERIFY_PEER; } }