diff options
-rw-r--r-- | www/nginx-devel/files/patch-src::core::ngx_crypt.c | 19 | ||||
-rw-r--r-- | www/nginx/files/patch-src::core::ngx_crypt.c | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/www/nginx-devel/files/patch-src::core::ngx_crypt.c b/www/nginx-devel/files/patch-src::core::ngx_crypt.c new file mode 100644 index 000000000000..e457612ecd41 --- /dev/null +++ b/www/nginx-devel/files/patch-src::core::ngx_crypt.c @@ -0,0 +1,19 @@ +Index: src/core/ngx_crypt.c +=================================================================== +--- src/core/ngx_crypt.c (revision 3925) ++++ src/core/ngx_crypt.c (working copy) +@@ -12,6 +12,8 @@ + #endif + + ++#if (NGX_CRYPT) ++ + static ngx_int_t ngx_crypt_apr1(ngx_pool_t *pool, u_char *key, u_char *salt, + u_char **encrypted); + static ngx_int_t ngx_crypt_plain(ngx_pool_t *pool, u_char *key, u_char *salt, +@@ -232,3 +234,5 @@ + } + + #endif /* NGX_HAVE_SHA1 */ ++ ++#endif /* NGX_CRYPT */ diff --git a/www/nginx/files/patch-src::core::ngx_crypt.c b/www/nginx/files/patch-src::core::ngx_crypt.c new file mode 100644 index 000000000000..e457612ecd41 --- /dev/null +++ b/www/nginx/files/patch-src::core::ngx_crypt.c @@ -0,0 +1,19 @@ +Index: src/core/ngx_crypt.c +=================================================================== +--- src/core/ngx_crypt.c (revision 3925) ++++ src/core/ngx_crypt.c (working copy) +@@ -12,6 +12,8 @@ + #endif + + ++#if (NGX_CRYPT) ++ + static ngx_int_t ngx_crypt_apr1(ngx_pool_t *pool, u_char *key, u_char *salt, + u_char **encrypted); + static ngx_int_t ngx_crypt_plain(ngx_pool_t *pool, u_char *key, u_char *salt, +@@ -232,3 +234,5 @@ + } + + #endif /* NGX_HAVE_SHA1 */ ++ ++#endif /* NGX_CRYPT */ |