libratbox/src/openssl_ratbox.h: misc cleanup for compiler warning
openssl.c:459:47: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual] (I find it remarkable that SSL_CTX_set1_curves_list() does not accept a 'const char *' argument...)
This commit is contained in:
parent
b253a53c51
commit
fa2b7ab282
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ static const char rb_default_ciphers[] = ""
|
||||||
"!aNULL";
|
"!aNULL";
|
||||||
|
|
||||||
#ifdef LRB_HAVE_TLS_SET_CURVES
|
#ifdef LRB_HAVE_TLS_SET_CURVES
|
||||||
static const char rb_default_curves[] = "P-521:P-384:P-256";
|
static char rb_default_curves[] = "P-521:P-384:P-256";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* LRB_OPENSSL_H_INC */
|
#endif /* LRB_OPENSSL_H_INC */
|
||||||
|
|
Loading…
Reference in a new issue