Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_sha1.c')
-rw-r--r--src/core/ngx_sha1.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/ngx_sha1.c b/src/core/ngx_sha1.c
index fd665fd73..f00dc52d6 100644
--- a/src/core/ngx_sha1.c
+++ b/src/core/ngx_sha1.c
@@ -4,8 +4,6 @@
* Copyright (C) Nginx, Inc.
*
* An internal SHA1 implementation.
- * It is not expected to be optimal and is used only
- * if no SHA1 implementation was found in system.
*/
@@ -14,8 +12,6 @@
#include <ngx_sha1.h>
-#if !(NGX_HAVE_SHA1)
-
static const u_char *ngx_sha1_body(ngx_sha1_t *ctx, const u_char *data,
size_t size);
@@ -296,5 +292,3 @@ ngx_sha1_body(ngx_sha1_t *ctx, const u_char *data, size_t size)
return p;
}
-
-#endif