Loading crypto/objects/o_names.c +4 −3 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ int OBJ_NAME_add(const char *name, int type, const char *data) onp = (OBJ_NAME *)OPENSSL_malloc(sizeof(OBJ_NAME)); if (onp == NULL) { /* ERROR */ return (0); return 0; } onp->name = name; Loading @@ -216,10 +216,11 @@ int OBJ_NAME_add(const char *name, int type, const char *data) } else { if (lh_OBJ_NAME_error(names_lh)) { /* ERROR */ return (0); OPENSSL_free(onp); return 0; } } return (1); return 1; } int OBJ_NAME_remove(const char *name, int type) Loading Loading
crypto/objects/o_names.c +4 −3 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ int OBJ_NAME_add(const char *name, int type, const char *data) onp = (OBJ_NAME *)OPENSSL_malloc(sizeof(OBJ_NAME)); if (onp == NULL) { /* ERROR */ return (0); return 0; } onp->name = name; Loading @@ -216,10 +216,11 @@ int OBJ_NAME_add(const char *name, int type, const char *data) } else { if (lh_OBJ_NAME_error(names_lh)) { /* ERROR */ return (0); OPENSSL_free(onp); return 0; } } return (1); return 1; } int OBJ_NAME_remove(const char *name, int type) Loading