constify ciphers per new openssl

This commit is contained in:
christos 2009-07-20 17:17:56 +00:00
parent fd1eba5f43
commit badcaee3ff
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tls_client.c,v 1.1.1.1 2009/06/23 10:08:57 tron Exp $ */
/* $NetBSD: tls_client.c,v 1.2 2009/07/20 17:17:56 christos Exp $ */
/*++
/* NAME
@ -727,7 +727,7 @@ TLS_SESS_STATE *tls_client_start(const TLS_CLIENT_START_PROPS *props)
int protomask;
const char *cipher_list;
SSL_SESSION *session;
SSL_CIPHER *cipher;
const SSL_CIPHER *cipher;
X509 *peercert;
TLS_SESS_STATE *TLScontext;
TLS_APPL_STATE *app_ctx = props->ctx;

View File

@ -1,4 +1,4 @@
/* $NetBSD: tls_server.c,v 1.1.1.1 2009/06/23 10:08:57 tron Exp $ */
/* $NetBSD: tls_server.c,v 1.2 2009/07/20 17:17:56 christos Exp $ */
/*++
/* NAME
@ -556,7 +556,7 @@ TLS_SESS_STATE *tls_server_start(const TLS_SERVER_START_PROPS *props)
{
int sts;
TLS_SESS_STATE *TLScontext;
SSL_CIPHER *cipher;
const SSL_CIPHER *cipher;
X509 *peer;
char buf[CCERT_BUFSIZ];
const char *cipher_list;