From de5161b3d935f2386db996339f0a7c19b7694d35 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 10 Nov 2011 19:17:52 +0000 Subject: [PATCH] * modules/ssl/ssl_private.h, modules/ssl/ssl_engine_kernel.c (ssl_callback_tlsext_tickets): Use unsigned char * to fix gcc -Wpointer-sign warnings. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200482 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_kernel.c | 4 ++-- modules/ssl/ssl_private.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index c75478009b..0ba483125f 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -2079,8 +2079,8 @@ static int ssl_find_vhost(void *servername, conn_rec *c, server_rec *s) #endif int ssl_callback_tlsext_tickets(SSL *ssl, - char *keyname, - char *iv, + unsigned char *keyname, + unsigned char *iv, EVP_CIPHER_CTX *cipher_ctx, HMAC_CTX *hctx, int mode) diff --git a/modules/ssl/ssl_private.h b/modules/ssl/ssl_private.h index 43949eee32..7b25012693 100644 --- a/modules/ssl/ssl_private.h +++ b/modules/ssl/ssl_private.h @@ -573,8 +573,8 @@ typedef struct { /* Human readable name, used in the configuration */ const char *conf_name; char key_name[16]; - char hmac_secret[16]; - char aes_key[16]; + unsigned char hmac_secret[16]; + unsigned char aes_key[16]; } modssl_ticket_t; #endif @@ -787,8 +787,8 @@ int ssl_callback_ServerNameIndication(SSL *, int *, modssl_ctx_t *); #ifdef HAVE_TLSEXT_TICKETS int ssl_callback_tlsext_tickets(SSL *ssl, - char *keyname, - char *iv, + unsigned char *keyname, + unsigned char *iv, EVP_CIPHER_CTX *cipher_ctx, HMAC_CTX *hctx, int mode); -- 2.40.0