summaryrefslogtreecommitdiffstats
path: root/ssl_openssl.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-10-16 15:13:36 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 18:21:13 +0200
commit0e282134d58b15c8fd21defb22c963e96b0d5372 (patch)
tree1f3145b5abb6cf90e01488b7e127d1ec7469acba /ssl_openssl.c
parent58ddb7b89240e4a484c5171be6df285563eda392 (diff)
downloadopenvpn-0e282134d58b15c8fd21defb22c963e96b0d5372.tar.gz
openvpn-0e282134d58b15c8fd21defb22c963e96b0d5372.tar.xz
openvpn-0e282134d58b15c8fd21defb22c963e96b0d5372.zip
Made SSL_CIPHER const in print_details, to fix warning
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'ssl_openssl.c')
-rw-r--r--ssl_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl_openssl.c b/ssl_openssl.c
index 093ccf3..7f579d2 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];