'flags' should only be set inside DSO_load() if constructing a new DSO
[openssl.git] / crypto / objects / obj_dat.c
index be72303ebdc917acc11f812722b17753a5066728..8094c7df95f4da09982e89bbf72b6c5dc12cf9be 100644 (file)
@@ -64,7 +64,7 @@
 #include <openssl/objects.h>
 
 /* obj_dat.h is generated from objects.h by obj_dat.pl */
-#ifndef NO_OBJECT
+#ifndef OPENSSL_NO_OBJECT
 #include "obj_dat.h"
 #else
 /* You will have to load all the objects needed manually in the application */
@@ -176,7 +176,6 @@ static int add_cmp(const void *ca_void, const void *cb_void)
                /* abort(); */
                return 0;
                }
-       return(1); /* should not get here */
        }
 
 static int init_added(void)