diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-09-12 23:18:09 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-09-12 23:18:09 +0000 |
commit | a131de9bb2ddb96648df6c57e0b5455b8d9ca4d0 (patch) | |
tree | bb3dd2f1ea2e2c4daf71a5433f5256b4c32f3141 /ssl | |
parent | 0ddd002f60888104157106af531d53ba1531b29a (diff) |
PR: 2025
Submitted by: Tomas Mraz <tmraz@redhat.com>
Approved by: steve@openssl.org
Constify SSL_CIPHER_description
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl.h | 2 | ||||
-rw-r--r-- | ssl/ssl_ciph.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1661,7 +1661,7 @@ long SSL_get_default_timeout(const SSL *s); int SSL_library_init(void ); -char *SSL_CIPHER_description(SSL_CIPHER *,char *buf,int size); +char *SSL_CIPHER_description(const SSL_CIPHER *,char *buf,int size); STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *sk); SSL *SSL_dup(SSL *ssl); diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 87c5f61670..bee3507ea1 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -1451,7 +1451,7 @@ STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(const SSL_METHOD *ssl_method, return(cipherstack); } -char *SSL_CIPHER_description(SSL_CIPHER *cipher, char *buf, int len) +char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len) { int is_export,pkl,kl; const char *ver,*exp_str; |