Permalink
Browse files

bugfix: compilation error on SHA_DIGEST_LENGTH when sha1 library is m…

…issing. thanks runner-mei for reporting in github issue #9.
  • Loading branch information...
1 parent e4f5e1d commit 4667ccc4a54dc609a1d1905bc608812f04160061 @agentzh agentzh committed Apr 17, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/ngx_http_set_hash.c
View
@@ -22,7 +22,9 @@
#endif
enum {
+#if NGX_HAVE_SHA1
SHA_HEX_LENGTH = SHA_DIGEST_LENGTH * 2,
+#endif
MD5_HEX_LENGTH = MD5_DIGEST_LENGTH * 2
};

0 comments on commit 4667ccc

Please sign in to comment.