From e623b1a06bab31665c9185659dad7c7783229ac9 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 15 May 2008 11:57:18 +0200 Subject: added TODO item --- runtime/nsd_gtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/nsd_gtls.c b/runtime/nsd_gtls.c index be3910f9..5ae92913 100644 --- a/runtime/nsd_gtls.c +++ b/runtime/nsd_gtls.c @@ -535,7 +535,7 @@ Rcv(nsd_t *pNsd, uchar *pBuf, ssize_t *pLenBuf) /* in TLS mode now */ lenRcvd = gnutls_record_recv(pThis->sess, pBuf, *pLenBuf); if(lenRcvd < 0) { -int gnuRet; /* this is a hack */ + int gnuRet; /* TODO: build a specific function for GnuTLS error reporting */ *pLenBuf = -1; CHKgnutls(lenRcvd); /* this will abort the function */ } -- cgit