[nginx] Style: use ngx_memcpy() instead of memcpy().
Maxim Dounin
mdounin at mdounin.ru
Wed Jul 9 01:50:02 UTC 2014
details: http://hg.nginx.org/nginx/rev/4b668378ad8b
branches:
changeset: 5760:4b668378ad8b
user: Piotr Sikora <piotr at cloudflare.com>
date: Tue Jul 08 03:03:14 2014 -0700
description:
Style: use ngx_memcpy() instead of memcpy().
Signed-off-by: Piotr Sikora <piotr at cloudflare.com>
diffstat:
src/event/ngx_event_openssl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c
--- a/src/event/ngx_event_openssl.c
+++ b/src/event/ngx_event_openssl.c
@@ -2664,7 +2664,7 @@ ngx_ssl_session_ticket_key_callback(ngx_
EVP_EncryptInit_ex(ectx, EVP_aes_128_cbc(), NULL, key[0].aes_key, iv);
HMAC_Init_ex(hctx, key[0].hmac_key, 16,
ngx_ssl_session_ticket_md(), NULL);
- memcpy(name, key[0].name, 16);
+ ngx_memcpy(name, key[0].name, 16);
return 0;
More information about the nginx-devel
mailing list