diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-11-21 08:31:08 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-11-21 08:31:08 (GMT) |
commit | 8b727baec560bdd3eea8fe89b897f2adb9aa535f (patch) | |
tree | 441646f683edc9497ea91cfe85d6286a271d3ded /plugins | |
parent | 6d0c1116317ed786971c67a325d67edce37bc746 (diff) | |
download | monitoring-plugins-8b727baec560bdd3eea8fe89b897f2adb9aa535f.tar.gz |
sslutils: Address compiler warning
SSLv23_client_method() and friends return a pointer to a const-qualified
SSL_METHOD.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sslutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sslutils.c b/plugins/sslutils.c index b412ef3..e38947e 100644 --- a/plugins/sslutils.c +++ b/plugins/sslutils.c | |||
@@ -48,7 +48,7 @@ int np_net_ssl_init_with_hostname_and_version(int sd, char *host_name, int versi | |||
48 | } | 48 | } |
49 | 49 | ||
50 | int np_net_ssl_init_with_hostname_version_and_cert(int sd, char *host_name, int version, char *cert, char *privkey) { | 50 | int np_net_ssl_init_with_hostname_version_and_cert(int sd, char *host_name, int version, char *cert, char *privkey) { |
51 | SSL_METHOD *method = NULL; | 51 | const SSL_METHOD *method = NULL; |
52 | long options = 0; | 52 | long options = 0; |
53 | 53 | ||
54 | switch (version) { | 54 | switch (version) { |