From 665502d76a87f4c1611cb05a387fd6f1941345a0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 11 Sep 2008 03:24:13 +0000 Subject: [PATCH] fx --- src/daemon/https/tls/gnutls_x509.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/daemon/https/tls/gnutls_x509.c b/src/daemon/https/tls/gnutls_x509.c index 22ced8ce..87d86e55 100644 --- a/src/daemon/https/tls/gnutls_x509.c +++ b/src/daemon/https/tls/gnutls_x509.c @@ -625,6 +625,7 @@ read_file (const char *filename, size_t * length) free(out); goto ERR; } + *length = st.st_size; close(fd); return out; ERR: