]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Made SSL_CIPHER const in print_details, to fix warning
authorAdriaan de Jong <dejong@fox-it.com>
Sun, 16 Oct 2011 13:13:36 +0000 (15:13 +0200)
committerDavid Sommerseth <davids@redhat.com>
Sat, 22 Oct 2011 16:21:13 +0000 (18:21 +0200)
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>
ssl_openssl.c

index 093ccf3a9a72faa2ee0602a0c25318a79336bd52..7f579d2af7cd4c1345e7da538903770b29805abe 100644 (file)
@@ -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];