From 7ef83fad1b143c61ee2a80ff0e458ac4e8314666 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sun, 12 Nov 2000 03:56:30 +0000 Subject: Enable some feture by default. --- mail/solidpop3d/files/patch-src_apop.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mail/solidpop3d/files/patch-src_apop.c (limited to 'mail/solidpop3d/files/patch-src_apop.c') diff --git a/mail/solidpop3d/files/patch-src_apop.c b/mail/solidpop3d/files/patch-src_apop.c new file mode 100644 index 000000000000..1e1a2b5fdc41 --- /dev/null +++ b/mail/solidpop3d/files/patch-src_apop.c @@ -0,0 +1,19 @@ +--- src/apop.c.orig Tue Nov 7 09:00:11 2000 ++++ src/apop.c Tue Nov 7 09:02:38 2000 +@@ -26,11 +26,15 @@ + #include + #include + ++#define md5_finish_ctx(ctx, dig) MD5Final((unsigned char *)dig, ctx) ++#define md5_init_ctx(ctx) MD5Init(ctx) ++#define md5_process_bytes(buf, len, ctx) MD5Update (ctx, (unsigned char *)buf, len) ++ + extern char apop_secret[]; + + int apop_authenticate(char *username, char *apoptimestamp, char *udigest) { + char adigest[16], digest[16]; +- struct md5_ctx context; ++ MD5_CTX context; + int tmp; + + for (tmp = 0; tmp < 16; tmp++) { -- cgit v1.2.3