From: Adriaan de Jong Date: Sun, 16 Oct 2011 13:13:36 +0000 (+0200) Subject: Made SSL_CIPHER const in print_details, to fix warning X-Git-Tag: v2.3-alpha1~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e282134d58b15c8fd21defb22c963e96b0d5372;p=thirdparty%2Fopenvpn.git Made SSL_CIPHER const in print_details, to fix warning Signed-off-by: Adriaan de Jong Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- diff --git a/ssl_openssl.c b/ssl_openssl.c index 093ccf3a9..7f579d2af 100644 --- a/ssl_openssl.c +++ b/ssl_openssl.c @@ -1201,7 +1201,7 @@ key_state_read_plaintext (struct key_state_ssl *ks_ssl, struct buffer *buf, void print_details (struct key_state_ssl * ks_ssl, const char *prefix) { - SSL_CIPHER *ciph; + const SSL_CIPHER *ciph; X509 *cert; char s1[256]; char s2[256];