mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 17:16:43 +02:00
40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
Patch-Source: https://github.com/fdintino/nginx-upload-module/commit/96e64603dc5a588a2d1ae59a62b0019d6b41070c
|
|
--
|
|
From 96e64603dc5a588a2d1ae59a62b0019d6b41070c Mon Sep 17 00:00:00 2001
|
|
From: Karthikdasari0423 <92445174+Karthikdasari0423@users.noreply.github.com>
|
|
Date: Thu, 22 Jun 2023 01:40:07 +0530
|
|
Subject: [PATCH] Update ngx_http_upload_module.c (#147)
|
|
|
|
* Update ngx_http_upload_module.c
|
|
|
|
* Fix whitespace
|
|
|
|
---------
|
|
|
|
Co-authored-by: Frankie Dintino <fdintino@gmail.com>
|
|
---
|
|
ngx_http_upload_module.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/ngx_http_upload_module.c b/ngx_http_upload_module.c
|
|
index c51429f..66150f0 100644
|
|
--- a/ngx_http_upload_module.c
|
|
+++ b/ngx_http_upload_module.c
|
|
@@ -12,7 +12,7 @@
|
|
|
|
#include <ngx_md5.h>
|
|
|
|
-typedef ngx_md5_t MD5_CTX;
|
|
+typedef ngx_md5_t MD5_CTX1;
|
|
|
|
#define MD5Init ngx_md5_init
|
|
#define MD5Update ngx_md5_update
|
|
@@ -189,7 +189,7 @@ typedef struct {
|
|
} ngx_http_upload_loc_conf_t;
|
|
|
|
typedef struct ngx_http_upload_md5_ctx_s {
|
|
- MD5_CTX md5;
|
|
+ MD5_CTX1 md5;
|
|
u_char md5_digest[MD5_DIGEST_LENGTH * 2];
|
|
} ngx_http_upload_md5_ctx_t;
|
|
|