File: fix-ssl-types.patch

package info (click to toggle)
up-imapproxy 1.2.8~svn20171105-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,688 kB
  • sloc: ansic: 4,608; sh: 2,937; makefile: 116
file content (24 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Fix SSL types
Author: Richard Laager <rlaager@wiktel.com>
Forwarded: https://sourceforge.net/p/squirrelmail/mailman/message/35526927/
Last-Update: 2016-11-22
--- a/src/imapcommon.c
+++ b/src/imapcommon.c
@@ -543,7 +543,7 @@
     char AuthBufIndex;
 
     unsigned int BufLen = BUFSIZE - 1;
-    char md5pw[MD5_DIGEST_LENGTH];
+    unsigned char md5pw[MD5_DIGEST_LENGTH];
     char *tokenptr;
     char *endptr;
     char *last;
@@ -555,7 +555,7 @@
     struct addrinfo *useai;
 
     EVP_MD_CTX mdctx;
-    int md_len;
+    unsigned int md_len;
 
     Expiration = PC_Struct.cache_expiration_time;
     memset( &Server, 0, sizeof Server );