Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/openldap/dist/libraries/libldap fix const warning



details:   https://anonhg.NetBSD.org/src/rev/0431405dbe35
branches:  trunk
changeset: 752822:0431405dbe35
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Mar 08 05:00:51 2010 +0000

description:
fix const warning

diffstat:

 external/bsd/openldap/dist/libraries/libldap/tls_o.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 889509275189 -r 0431405dbe35 external/bsd/openldap/dist/libraries/libldap/tls_o.c
--- a/external/bsd/openldap/dist/libraries/libldap/tls_o.c      Mon Mar 08 04:58:18 2010 +0000
+++ b/external/bsd/openldap/dist/libraries/libldap/tls_o.c      Mon Mar 08 05:00:51 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tls_o.c,v 1.1.1.1 2010/03/08 02:14:20 lukem Exp $      */
+/*     $NetBSD: tls_o.c,v 1.2 2010/03/08 05:00:51 lukem Exp $  */
 
 /* tls_o.c - Handle tls/ssl using OpenSSL */
 /* OpenLDAP: pkg/ldap/libraries/libldap/tls_o.c,v 1.5.2.10 2009/10/30 17:55:19 quanah Exp */
@@ -663,7 +663,7 @@
 tlso_session_strength( tls_session *sess )
 {
        tlso_session *s = (tlso_session *)sess;
-       SSL_CIPHER *c;
+       const SSL_CIPHER *c;
 
        c = SSL_get_current_cipher(s);
        return SSL_CIPHER_get_bits(c, NULL);



Home | Main Index | Thread Index | Old Index