diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2000-11-12 03:56:30 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2000-11-12 03:56:30 +0000 |
commit | 7ef83fad1b143c61ee2a80ff0e458ac4e8314666 (patch) | |
tree | 263d6a572fe6fdaafda0e1fd4e1b101f2923c368 /mail/solidpop3d/files/patch-src_apop.c | |
parent | Upgrade to 3.26. (diff) |
Enable some feture by default.
Notes
Notes:
svn path=/head/; revision=35035
Diffstat (limited to 'mail/solidpop3d/files/patch-src_apop.c')
-rw-r--r-- | mail/solidpop3d/files/patch-src_apop.c | 19 |
1 files changed, 19 insertions, 0 deletions
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 <sys/stat.h> + #include <fcntl.h> + ++#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++) { |