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:
Aaron Jones 2017-07-31 04:26:48 +00:00
parent b253a53c51
commit fa2b7ab282
No known key found for this signature in database
GPG key ID: 8AF0737488AB3012

View file

@ -123,7 +123,7 @@ static const char rb_default_ciphers[] = ""
"!aNULL";
#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 /* LRB_OPENSSL_H_INC */