-/* $OpenBSD: obj_dat.c,v 1.39 2017/01/29 17:49:23 beck Exp $ */
+/* $OpenBSD: obj_dat.c,v 1.40 2018/09/08 10:31:24 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
return (o->nid);
-err2:
+ err2:
OBJerror(ERR_R_MALLOC_FAILURE);
-err:
+ err:
for (i = ADDED_DATA; i <= ADDED_NID; i++)
free(ao[i]);
free(o);
}
}
-out:
+ out:
BN_free(bl);
return ret;
-err:
+ err:
ret = 0;
goto out;
}
goto err;
ok = OBJ_add_object(op);
-err:
+ err:
ASN1_OBJECT_free(op);
free(buf);
return (ok);
-/* $OpenBSD: obj_lib.c,v 1.14 2017/01/29 17:49:23 beck Exp $ */
+/* $OpenBSD: obj_lib.c,v 1.15 2018/09/08 10:31:24 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
ASN1_OBJECT_FLAG_DYNAMIC_STRINGS | ASN1_OBJECT_FLAG_DYNAMIC_DATA);
return (r);
-err:
+ err:
OBJerror(ERR_R_MALLOC_FAILURE);
free(ln);
free(sn);