summaryrefslogtreecommitdiff
path: root/src/message.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-11-09 07:36:44 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-11-09 07:36:44 +0000
commitce4186b4c3f8d78bcd77fdc93ab1cbe00e2b45e2 (patch)
treedb9fbe036481a27edc419b2c2e2528e1dfe3ed18 /src/message.h
parent79d463fae2e1e3cf87b61bb519de1428f1f2b39c (diff)
2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added the ability to verify peer in SSL/TLS using given CA certificates. The CA certificates are specified in --ca-certificate option. By default, the verification is disabled. Use --check-certificate option to enable it. * src/HttpRequestCommand.cc * src/LibgnutlsTLSContext.cc * src/LibgnutlsTLSContext.h * src/LibsslTLSContext.cc * src/LibsslTLSContext.h * src/MultiUrlRequestInfo.cc * src/OptionHandlerFactory.cc * src/SocketCore.cc * src/SocketCore.h * src/a2functional.h * src/message.h * src/option_processing.cc * src/prefs.cc * src/prefs.h * src/usage_text.h
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/message.h b/src/message.h
index a4f51d05..4cb54c99 100644
--- a/src/message.h
+++ b/src/message.h
@@ -159,6 +159,10 @@
#define MSG_NETWORK_PROBLEM _("Network problem has occurred. cause:%s")
#define MSG_LOADING_TRUSTED_CA_CERT_FAILED \
_("Failed to load trusted CA certificates from %s. Cause: %s")
+#define MSG_CERT_VERIFICATION_FAILED \
+ _("Certificate verification failed. Cause: %s")
+#define MSG_NO_CERT_FOUND _("No certificate found.")
+#define MSG_HOSTNAME_NOT_MATCH _("Hostname not match.")
#define EX_TIME_OUT _("Timeout.")
#define EX_INVALID_CHUNK_SIZE _("Invalid chunk size.")