summaryrefslogtreecommitdiffstats
path: root/plugins/sslutils.c
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.org>2015-10-04 13:26:13 (GMT)
committerSven Nierlein <sven@nierlein.org>2015-10-04 13:26:13 (GMT)
commit5a9ca0590f847ef96421912bd2562292580a7d7c (patch)
tree0215774c2ada66f67f3de78b395ee8b4c7c75884 /plugins/sslutils.c
parent2d677b19ed34ff8171dbf07fb7744e560737d143 (diff)
parent8e661a3bd6c6892ed4db926eab769c167b0e9091 (diff)
downloadmonitoring-plugins-5a9ca0590f847ef96421912bd2562292580a7d7c.tar.gz
Merge pull request #1362 from waja/sslutils_remove_superfluous_parenthesis
sslutils: remove superfluous parenthesis
Diffstat (limited to 'plugins/sslutils.c')
-rw-r--r--plugins/sslutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sslutils.c b/plugins/sslutils.c
index 4933dd0..f34c3d7 100644
--- a/plugins/sslutils.c
+++ b/plugins/sslutils.c
@@ -59,7 +59,7 @@ int np_net_ssl_init_with_hostname_version_and_cert(int sd, char *host_name, int
59 break; 59 break;
60 case 2: /* SSLv2 protocol */ 60 case 2: /* SSLv2 protocol */
61#if defined(USE_GNUTLS) || defined(OPENSSL_NO_SSL2) 61#if defined(USE_GNUTLS) || defined(OPENSSL_NO_SSL2)
62 printf(("%s\n", _("CRITICAL - SSL protocol version 2 is not supported by your SSL library."))); 62 printf("%s\n", _("CRITICAL - SSL protocol version 2 is not supported by your SSL library."));
63 return STATE_CRITICAL; 63 return STATE_CRITICAL;
64#else 64#else
65 method = SSLv2_client_method(); 65 method = SSLv2_client_method();
@@ -67,7 +67,7 @@ int np_net_ssl_init_with_hostname_version_and_cert(int sd, char *host_name, int
67 break; 67 break;
68 case 3: /* SSLv3 protocol */ 68 case 3: /* SSLv3 protocol */
69#if defined(OPENSSL_NO_SSL3) 69#if defined(OPENSSL_NO_SSL3)
70 printf(("%s\n", _("CRITICAL - SSL protocol version 3 is not supported by your SSL library."))); 70 printf("%s\n", _("CRITICAL - SSL protocol version 3 is not supported by your SSL library."));
71 return STATE_CRITICAL; 71 return STATE_CRITICAL;
72#else 72#else
73 method = SSLv3_client_method(); 73 method = SSLv3_client_method();