summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiß <holger@zedat.fu-berlin.de>2011-05-11 15:33:14 +0200
committerSol Jerome <sol.jerome@gmail.com>2011-05-13 07:44:44 -0500
commit97b821ff05a5c1942b4ff9b813a9167987682008 (patch)
tree8bfc65e0ff10faec0ed3d30f892a3fa4ca23f7f7
parentf6992b7308dca8d9dc74d380f881470e228797d8 (diff)
downloadbcfg2-97b821ff05a5c1942b4ff9b813a9167987682008.tar.gz
bcfg2-97b821ff05a5c1942b4ff9b813a9167987682008.tar.bz2
bcfg2-97b821ff05a5c1942b4ff9b813a9167987682008.zip
Fix a typo in an SSL error message
(cherry picked from commit bdeb933b7b76f422a0df8f03cf74d2a3fe58b056)
-rw-r--r--src/lib/Proxy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Proxy.py b/src/lib/Proxy.py
index 42ff6a12b..47c7aad07 100644
--- a/src/lib/Proxy.py
+++ b/src/lib/Proxy.py
@@ -175,7 +175,7 @@ class SSLHTTPConnection(httplib.HTTPConnection):
other_side_required = ssl.CERT_NONE
self.logger.warning("No ca is specified. Cannot authenticate the server with SSL.")
if self.cert and not self.key:
- self.logger.warning("SSL cert specfied, but key. Cannot authenticate this client with SSL.")
+ self.logger.warning("SSL cert specfied, but no key. Cannot authenticate this client with SSL.")
self.cert = None
if self.key and not self.cert:
self.logger.warning("SSL key specfied, but no cert. Cannot authenticate this client with SSL.")
@@ -220,7 +220,7 @@ class SSLHTTPConnection(httplib.HTTPConnection):
# authentication to the server
ctx.load_cert(self.cert, self.key)
elif self.cert:
- self.logger.warning("SSL cert specfied, but key. Cannot authenticate this client with SSL.")
+ self.logger.warning("SSL cert specfied, but no key. Cannot authenticate this client with SSL.")
elif self.key:
self.logger.warning("SSL key specfied, but no cert. Cannot authenticate this client with SSL.")