Some variables were uninitialised...
authorRichard Levitte <levitte@openssl.org>
Tue, 29 Apr 2003 20:45:36 +0000 (20:45 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 29 Apr 2003 20:45:36 +0000 (20:45 +0000)
crypto/objects/obj_dat.c

index adab7a73434e42fb4f8a418426460cb6396b3e9d..d463c11f5495972eb5fe63455a9a1ee5854b896f 100644 (file)
@@ -562,7 +562,7 @@ const char *OBJ_bsearch(const char *key, const char *base, int num, int size,
 const char *OBJ_bsearch_ex(const char *key, const char *base, int num,
        int size, int (*cmp)(const void *, const void *), int flags)
        {
-       int l,h,i,c;
+       int l,h,i=0,c=0;
        const char *p = NULL;
 
        if (num == 0) return(NULL);