mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Remove unneeded memcpy.
Spotted by: Rüdiger Plüm git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200374 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user