From 41234c4f97fc52ed0b0a7324f6a4cf60fb2f6777 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 19 Dec 2016 11:57:24 -0500 Subject: [PATCH] TLSClient: Commented possible need for version protection --- src/TLSClient.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TLSClient.cpp b/src/TLSClient.cpp index 5516f4188..984200bc2 100644 --- a/src/TLSClient.cpp +++ b/src/TLSClient.cpp @@ -146,6 +146,7 @@ void TLSClient::init ( (ret = gnutls_certificate_set_x509_trust_file (_credentials, _ca.c_str (), GNUTLS_X509_FMT_PEM)) < 0) // All throw format ("Bad CA file. {1}", gnutls_strerror (ret)); // All + // TODO This may need 0x030111 protection. if (_cert != "" && _key != "" && (ret = gnutls_certificate_set_x509_key_file (_credentials, _cert.c_str (), _key.c_str (), GNUTLS_X509_FMT_PEM)) < 0) // 3.1.11