Module Name:    src
Committed By:   christos
Date:           Mon Jul 20 15:32:33 UTC 2009

Modified Files:
        src/external/bsd/openldap/dist/libraries/libldap: tls.c

Log Message:
catch up with openssl constification


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
    src/external/bsd/openldap/dist/libraries/libldap/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/openldap/dist/libraries/libldap/tls.c
diff -u src/external/bsd/openldap/dist/libraries/libldap/tls.c:1.1.1.2 src/external/bsd/openldap/dist/libraries/libldap/tls.c:1.2
--- src/external/bsd/openldap/dist/libraries/libldap/tls.c:1.1.1.2	Wed Jul  9 19:56:44 2008
+++ src/external/bsd/openldap/dist/libraries/libldap/tls.c	Mon Jul 20 11:32:33 2009
@@ -2786,9 +2786,9 @@
 ldap_pvt_tls_get_strength( void *s )
 {
 #ifdef HAVE_OPENSSL
-	SSL_CIPHER *c;
+	const SSL_CIPHER *c;
 
-	c = SSL_get_current_cipher((SSL *)s);
+	c = SSL_get_current_cipher((const SSL *)s);
 	return SSL_CIPHER_get_bits(c, NULL);
 #elif defined(HAVE_GNUTLS)
 	tls_session *session = s;

Reply via email to