[PATCH] MD5: NGX_HAVE_OPENSSL_MD5_H implies OpenSSL-style function names
Piotr Sikora
piotrsikora at google.com
Sat Nov 7 02:43:20 UTC 2015
# HG changeset patch
# User Piotr Sikora <piotrsikora at google.com>
# Date 1446864006 28800
# Fri Nov 06 18:40:06 2015 -0800
# Node ID bfd17e00b5cf13df79c4212a1fca6a1bedd66168
# Parent 22f0e600de213b579ca921cce8f1a50b0a5c454e
MD5: NGX_HAVE_OPENSSL_MD5_H implies OpenSSL-style function names.
Signed-off-by: Piotr Sikora <piotrsikora at google.com>
diff -r 22f0e600de21 -r bfd17e00b5cf src/core/ngx_md5.h
--- a/src/core/ngx_md5.h
+++ b/src/core/ngx_md5.h
@@ -25,7 +25,7 @@
typedef MD5_CTX ngx_md5_t;
-#if (NGX_OPENSSL_MD5)
+#if (NGX_HAVE_OPENSSL_MD5_H || NGX_OPENSSL_MD5)
#define ngx_md5_init MD5_Init
#define ngx_md5_update MD5_Update
More information about the nginx-devel
mailing list