mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-20 00:10:09 -05:00
sslutils: Address compiler warning
SSLv23_client_method() and friends return a pointer to a const-qualified SSL_METHOD.
This commit is contained in:
parent
6d0c111631
commit
8b727baec5
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ int np_net_ssl_init_with_hostname_and_version(int sd, char *host_name, int versi
|
|||
}
|
||||
|
||||
int np_net_ssl_init_with_hostname_version_and_cert(int sd, char *host_name, int version, char *cert, char *privkey) {
|
||||
SSL_METHOD *method = NULL;
|
||||
const SSL_METHOD *method = NULL;
|
||||
long options = 0;
|
||||
|
||||
switch (version) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue