Skip to content

Commit 18f55c5

Browse files
committed
Fixed compilation problem on Mac OS X
1 parent 577f1e6 commit 18f55c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ngx_http_upload_module.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ typedef struct ngx_http_upload_md5_ctx_s {
9696
} ngx_http_upload_md5_ctx_t;
9797

9898
typedef struct ngx_http_upload_sha1_ctx_s {
99-
SHA1_CTX sha1;
99+
SHA_CTX sha1;
100100
u_char sha1_digest[SHA_DIGEST_LENGTH * 2];
101101
} ngx_http_upload_sha1_ctx_t;
102102

0 commit comments

Comments
 (0)