summaryrefslogtreecommitdiff
path: root/tests/x509dn.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/x509dn.c')
-rw-r--r--tests/x509dn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/x509dn.c b/tests/x509dn.c
index 820e414b53..056351c19d 100644
--- a/tests/x509dn.c
+++ b/tests/x509dn.c
@@ -136,7 +136,7 @@ cert_callback(gnutls_session_t session,
static void client(int sd, const char *prio)
{
int ret, ii;
- gnutls_session_t session;
+ gnutls_session_t session = NULL;
char buffer[MAX_BUF + 1];
gnutls_certificate_credentials_t xcred;