Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B0059A2A for ; Thu, 10 Nov 2011 19:18:17 +0000 (UTC) Received: (qmail 93767 invoked by uid 500); 10 Nov 2011 19:18:16 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 93699 invoked by uid 500); 10 Nov 2011 19:18:16 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 93692 invoked by uid 99); 10 Nov 2011 19:18:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2011 19:18:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2011 19:18:14 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6E5DF238889B; Thu, 10 Nov 2011 19:17:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1200482 - in /httpd/httpd/trunk/modules/ssl: ssl_engine_kernel.c ssl_private.h Date: Thu, 10 Nov 2011 19:17:53 -0000 To: cvs@httpd.apache.org From: jorton@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111110191753.6E5DF238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jorton Date: Thu Nov 10 19:17:52 2011 New Revision: 1200482 URL: http://svn.apache.org/viewvc?rev=1200482&view=rev Log: * modules/ssl/ssl_private.h, modules/ssl/ssl_engine_kernel.c (ssl_callback_tlsext_tickets): Use unsigned char * to fix gcc -Wpointer-sign warnings. Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c httpd/httpd/trunk/modules/ssl/ssl_private.h Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c?rev=1200482&r1=1200481&r2=1200482&view=diff ============================================================================== --- httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c (original) +++ httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c Thu Nov 10 19:17:52 2011 @@ -2079,8 +2079,8 @@ static int ssl_find_vhost(void *serverna #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) Modified: httpd/httpd/trunk/modules/ssl/ssl_private.h URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_private.h?rev=1200482&r1=1200481&r2=1200482&view=diff ============================================================================== --- httpd/httpd/trunk/modules/ssl/ssl_private.h (original) +++ httpd/httpd/trunk/modules/ssl/ssl_private.h Thu Nov 10 19:17:52 2011 @@ -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_ServerNameIndi #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);