fix warnings (svn:NO TEST)

git-svn-id: file:///svn/unbound/trunk@2536 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2011-11-01 10:32:37 +00:00
parent 9a0b040403
commit ef4d9a1ecb

View 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);