mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-19 21:48:52 -04:00
Don't mark SSL_METHOD variable as "const"
The SSL_CTX_new(3) function expects a non-"const" SSL_METHOD value.
This commit is contained in:
parent
5b0e00782d
commit
ca9ce71576
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) {
|
||||
const SSL_METHOD *method = NULL;
|
||||
SSL_METHOD *method = NULL;
|
||||
|
||||
switch (version) {
|
||||
case 0: /* Deafult to auto negotiation */
|
||||
|
|
|
|||
Loading…
Reference in a new issue