]>
Commit | Line | Data |
---|---|---|
45cdcc2c JK |
1 | diff -dur postfix-2.0.16.orig/src/global/mail_stream.c postfix-2.0.16/src/global/mail_stream.c |
2 | --- postfix-2.0.16.orig/src/global/mail_stream.c 2003-04-15 21:06:28.000000000 +0200 | |
3 | +++ postfix-2.0.16/src/global/mail_stream.c 2005-01-08 09:25:31.372904944 +0100 | |
4 | @@ -93,6 +93,7 @@ | |
5 | #include <vstream.h> | |
6 | #include <stringops.h> | |
7 | #include <argv.h> | |
8 | +#include <string.h> | |
9 | ||
10 | /* Global library. */ | |
11 | ||
12 | diff -dur postfix-2.0.16.orig/src/global/pfixtls.c postfix-2.0.16/src/global/pfixtls.c | |
13 | --- postfix-2.0.16.orig/src/global/pfixtls.c 2005-01-08 08:59:26.000000000 +0100 | |
14 | +++ postfix-2.0.16/src/global/pfixtls.c 2005-01-08 09:25:31.374904640 +0100 | |
15 | @@ -1086,15 +1086,13 @@ | |
16 | return (ret); | |
17 | ||
18 | if (cmd == (BIO_CB_READ | BIO_CB_RETURN)) { | |
19 | - msg_info("read from %08X [%08lX] (%d bytes => %ld (0x%X))", | |
20 | - (unsigned int)bio, (unsigned long)argp, argi, | |
21 | - ret, (unsigned int)ret); | |
22 | + msg_info("read from %p [%p (%d bytes => %ld (0x%X))", | |
23 | + bio, argp, argi, ret, (unsigned int)ret); | |
24 | pfixtls_dump(argp, (int) ret); | |
25 | return (ret); | |
26 | } else if (cmd == (BIO_CB_WRITE | BIO_CB_RETURN)) { | |
27 | - msg_info("write to %08X [%08lX] (%d bytes => %ld (0x%X))", | |
28 | - (unsigned int)bio, (unsigned long)argp, argi, | |
29 | - ret, (unsigned int)ret); | |
30 | + msg_info("write to %p [%p] (%d bytes => %ld (0x%X))", | |
31 | + bio, argp, argi, ret, (unsigned int)ret); | |
32 | pfixtls_dump(argp, (int) ret); | |
33 | } | |
34 | return (ret); | |
35 | diff -dur postfix-2.0.16.orig/src/smtp/smtp_session.c postfix-2.0.16/src/smtp/smtp_session.c | |
36 | --- postfix-2.0.16.orig/src/smtp/smtp_session.c 2005-01-08 08:59:26.000000000 +0100 | |
37 | +++ postfix-2.0.16/src/smtp/smtp_session.c 2005-01-08 09:25:31.374904640 +0100 | |
38 | @@ -35,12 +35,14 @@ | |
39 | /* System library. */ | |
40 | ||
41 | #include <sys_defs.h> | |
42 | +#include <string.h> | |
43 | ||
44 | /* Utility library. */ | |
45 | ||
46 | #include <mymalloc.h> | |
47 | #include <vstream.h> | |
48 | #include <stringops.h> | |
49 | +#include <msg.h> | |
50 | ||
51 | #include <mail_params.h> | |
52 | #include <maps.h> | |
53 | diff -dur postfix-2.0.16.orig/src/tlsmgr/tlsmgr.c postfix-2.0.16/src/tlsmgr/tlsmgr.c | |
54 | --- postfix-2.0.16.orig/src/tlsmgr/tlsmgr.c 2005-01-08 08:59:26.000000000 +0100 | |
55 | +++ postfix-2.0.16/src/tlsmgr/tlsmgr.c 2005-01-08 09:25:31.375904488 +0100 | |
56 | @@ -118,11 +118,6 @@ | |
57 | #include <string.h> | |
58 | #include <sys/time.h> /* gettimeofday, not POSIX */ | |
59 | ||
60 | -/* OpenSSL library. */ | |
61 | -#ifdef USE_SSL | |
62 | -#include <openssl/rand.h> /* For the PRNG */ | |
63 | -#endif | |
64 | - | |
65 | /* Utility library. */ | |
66 | ||
67 | #include <msg.h> | |
68 | @@ -144,6 +139,11 @@ | |
69 | #include <master_proto.h> | |
70 | #include <mail_server.h> | |
71 | ||
72 | +/* OpenSSL library. */ | |
73 | +#ifdef USE_SSL | |
74 | +#include <openssl/rand.h> /* For the PRNG */ | |
75 | +#endif | |
76 | + | |
77 | /* Application-specific. */ | |
78 | ||
79 | /* | |
80 | diff -dur postfix-2.0.16.orig/src/util/sdbm.c postfix-2.0.16/src/util/sdbm.c | |
81 | --- postfix-2.0.16.orig/src/util/sdbm.c 2005-01-08 08:59:26.000000000 +0100 | |
82 | +++ postfix-2.0.16/src/util/sdbm.c 2005-01-08 09:26:06.995489488 +0100 | |
83 | @@ -57,6 +57,9 @@ | |
84 | #endif | |
85 | ||
86 | #include <sdbm.h> | |
87 | +#include <mymalloc.h> | |
88 | +#include <sys_defs.h> | |
89 | +#include <msg.h> | |
90 | ||
91 | /* | |
92 | * useful macros |