openbsd-ports/mail/courier-imap/patches/patch-tcpd_libcouriertls_c
2009-10-28 14:20:19 +00:00

13 lines
420 B
Plaintext

$OpenBSD: patch-tcpd_libcouriertls_c,v 1.2 2009/10/28 14:20:19 giovanni Exp $
--- tcpd/libcouriertls.c.orig Sun Jul 13 16:27:33 2008
+++ tcpd/libcouriertls.c Mon Jun 15 15:25:07 2009
@@ -814,7 +814,7 @@ static int get_func(void *rec, size_t recsize,
time_t timeout;
size_t session_id_len;
- unsigned char *sess;
+ const unsigned char *sess;
if (recsize < sizeof(timeout)+sizeof(session_id_len))
return (0);