httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r1200374 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
Date Thu, 10 Nov 2011 15:19:16 GMT
Author: pquerna
Date: Thu Nov 10 15:19:15 2011
New Revision: 1200374

URL: http://svn.apache.org/viewvc?rev=1200374&view=rev
Log:
Remove unneeded memcpy.

Spotted by: Rüdiger Plüm

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c

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=1200374&r1=1200373&r2=1200374&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c Thu Nov 10 15:19:15 2011
@@ -2112,8 +2112,6 @@ int ssl_callback_tlsext_tickets(SSL *ssl
 
         RAND_pseudo_bytes(iv, EVP_MAX_IV_LENGTH);
 
-        memcpy(iv, iv, EVP_MAX_IV_LENGTH);
-
         EVP_EncryptInit_ex(cipher_ctx, EVP_aes_128_cbc(), NULL,
                            ticket->aes_key, iv);
 



Mime
View raw message