]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_ssl/regressions/ssl-43-ciphers.c
Security-58286.20.16.tar.gz
[apple/security.git] / OSX / libsecurity_ssl / regressions / ssl-43-ciphers.c
index e7d89c94003b39ebc193c4302cdba2213cf7fcdd..1577120ed8e9675856788ff251a978287d3303e9 100644 (file)
@@ -315,7 +315,7 @@ static int SocketConnect(const char *hostName, int port)
     struct in_addr      host;
        int                                     sock;
     int                 err;
     struct in_addr      host;
        int                                     sock;
     int                 err;
-    struct hostent      *ent;
+    struct hostent      *ent = NULL;
 
     if (hostName[0] >= '0' && hostName[0] <= '9')
     {
 
     if (hostName[0] >= '0' && hostName[0] <= '9')
     {