-TRESPONSE
-TREST_TABLE
-TRES_CONTEXT
+-TRING
-TRWR_CONTEXT
-TSCACHE
-TSCACHE_CLNT
Cleanup: memory leaks in test code. Files: util/hex_code.c,
util/argv.c.
+
+20250127
+
+ Cleanup: broken non-TLS builds because of a missing #ifdef
+ USE_TLS/#endif around a new function get_effective_tls_level().
+ File: smtp/smtp_connect.c.
+
+ Cleanup: a few remaining pre-ANSI C function definitions
+ in the lowest-level Postfix code. Files: util/binhash.c,
+ util/close_on_exec.c, util/non_blocking.c.
* Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only.
*/
-#define MAIL_RELEASE_DATE "20250117"
+#define MAIL_RELEASE_DATE "20250127"
#define MAIL_VERSION_NUMBER "3.10"
#ifdef SNAPSHOT
}
}
+#ifdef USE_TLS
+
/* smtp_get_effective_tls_level - get the effective TLS security level */
static int smtp_get_effective_tls_level(DSN_BUF *why, SMTP_STATE *state)
return (1);
}
+#endif
+
/* smtp_connect_local - connect to local server */
static void smtp_connect_local(SMTP_STATE *state, const char *path)
/* binhash_list - list all table members */
-BINHASH_INFO **binhash_list(table)
-BINHASH *table;
+BINHASH_INFO **binhash_list(BINHASH *table)
{
BINHASH_INFO **list;
BINHASH_INFO *member;
/* close_on_exec - set/clear close-on-exec flag */
-int close_on_exec(fd, on)
-int fd;
-int on;
+int close_on_exec(int fd, int on)
{
int flags;
/* non_blocking - set/clear non-blocking flag */
-int non_blocking(fd, on)
-int fd;
-int on;
+int non_blocking(int fd, int on)
{
int flags;
/* ring_init - initialize ring head */
-void ring_init(ring)
-RING *ring;
+void ring_init(RING *ring)
{
ring->pred = ring->succ = ring;
}
/* ring_append - insert entry after ring head */
-void ring_append(ring, entry)
-RING *ring;
-RING *entry;
+void ring_append(RING *ring, RING *entry)
{
entry->succ = ring->succ;
entry->pred = ring;
/* ring_prepend - insert new entry before ring head */
-void ring_prepend(ring, entry)
-RING *ring;
-RING *entry;
+void ring_prepend(RING *ring, RING *entry)
{
entry->pred = ring->pred;
entry->succ = ring;
/* ring_detach - remove entry from ring */
-void ring_detach(entry)
-RING *entry;
+void ring_detach(RING *entry)
{
RING *succ = entry->succ;
RING *pred = entry->pred;