httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
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 GMT
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);



Mime
View raw message