]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fix warnings (svn:NO TEST)
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 1 Nov 2011 10:32:37 +0000 (10:32 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 1 Nov 2011 10:32:37 +0000 (10:32 +0000)
git-svn-id: file:///svn/unbound/trunk@2536 be551aaa-1e26-0410-a405-d3ace91eadb9

testcode/streamtcp.c

index 89dab8b579340c85a47b9a61e5e8771cb8e1fbbb..b46353ba2c70144a59ec316a4c3173f32443ca03 100644 (file)
@@ -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);