From: Wouter Wijngaards Date: Tue, 1 Nov 2011 10:32:37 +0000 (+0000) Subject: fix warnings (svn:NO TEST) X-Git-Tag: release-1.4.14rc1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef4d9a1ecbf1dfdd4929a505ebe3b45b0e444585;p=thirdparty%2Funbound.git fix warnings (svn:NO TEST) git-svn-id: file:///svn/unbound/trunk@2536 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/testcode/streamtcp.c b/testcode/streamtcp.c index 89dab8b57..b46353ba2 100644 --- a/testcode/streamtcp.c +++ b/testcode/streamtcp.c @@ -274,8 +274,8 @@ send_em(const char* svr, int udp, int usessl, int noanswer, int num, char** qs) ldns_buffer* buf = ldns_buffer_new(65553); int fd = open_svr(svr, udp); int i; - SSL_CTX* ctx; - SSL* ssl; + SSL_CTX* ctx = NULL; + SSL* ssl = NULL; if(!buf) fatal_exit("out of memory"); if(usessl) { ctx = connect_sslctx_create(NULL, NULL, NULL);