summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/auth_cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth_cert.c b/lib/auth_cert.c
index 91567cb25a..dd9daf9b3b 100644
--- a/lib/auth_cert.c
+++ b/lib/auth_cert.c
@@ -209,7 +209,7 @@ _find_x509_cert (const gnutls_certificate_credentials_t cred,
int pk_algos_length, int *indx)
{
unsigned size;
- gnutls_datum_t odn;
+ gnutls_datum_t odn = { NULL, 0 };
opaque *data = _data;
ssize_t data_size = _data_size;
unsigned i, j;