2009-10-28 10:20:19 -04:00
|
|
|
$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,
|
2006-11-03 11:19:56 -05:00
|
|
|
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);
|