Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] MD5: NGX_HAVE_OPENSSL_MD5_H implies OpenSSL-style function names

Maxim Dounin
November 06, 2015 11:10PM
Hello!

On Fri, Nov 06, 2015 at 06:43:20PM -0800, Piotr Sikora wrote:

> # HG changeset patch
> # User Piotr Sikora <piotrsikora@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.

As of now this implication is localized in auto/lib/md5/conf, and
I see no reasons to propagate this knowledge into the code.

>
> Signed-off-by: Piotr Sikora <piotrsikora@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
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] MD5: NGX_HAVE_OPENSSL_MD5_H implies OpenSSL-style function names

Piotr Sikora 632 November 06, 2015 09:44PM

Re: [PATCH] MD5: NGX_HAVE_OPENSSL_MD5_H implies OpenSSL-style function names

Maxim Dounin 272 November 06, 2015 11:10PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready