summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-10-20 15:12:00 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-10-20 15:12:00 +0000
commit606f6c477a0eff3573d26d172bc832add095c44e (patch)
tree77fad8ebb127dac8c960ca2add5492adf1ed4f9e /ssl
parent1581f822439eb6c2aa94565bcbd76430912b40f3 (diff)
Fix a shed load or warnings:
Duplicate const. Use of ; outside function.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s2_lib.c2
-rw-r--r--ssl/ssl_locl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c
index d93a2c797f..0f311c3fab 100644
--- a/ssl/s2_lib.c
+++ b/ssl/s2_lib.c
@@ -412,7 +412,7 @@ long ssl2_ctx_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp)(void))
return(0);
}
-IMPLEMENT_OBJ_BSEARCH_GLOBAL_CMP_FN(const SSL_CIPHER, const SSL_CIPHER,
+IMPLEMENT_OBJ_BSEARCH_GLOBAL_CMP_FN(SSL_CIPHER, SSL_CIPHER,
ssl_cipher_id_cmp);
/* This function needs to check if the ciphers required are actually
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index ad69a71ff5..e478f9aa72 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -784,7 +784,7 @@ int ssl_set_peer_cert_type(SESS_CERT *c, int type);
int ssl_get_new_session(SSL *s, int session);
int ssl_get_prev_session(SSL *s, unsigned char *session,int len, const unsigned char *limit);
int ssl_cipher_id_cmp(const SSL_CIPHER *a,const SSL_CIPHER *b);
-DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(const SSL_CIPHER, const SSL_CIPHER,
+DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(SSL_CIPHER, SSL_CIPHER,
ssl_cipher_id_cmp);
int ssl_cipher_ptr_id_cmp(const SSL_CIPHER * const *ap,
const SSL_CIPHER * const *bp);