diff options
-rw-r--r-- | src/lib/libcrypto/objects/obj_dat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c index bd8601c316..77775062f2 100644 --- a/src/lib/libcrypto/objects/obj_dat.c +++ b/src/lib/libcrypto/objects/obj_dat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: obj_dat.c,v 1.71 2023/12/14 15:33:09 tb Exp $ */ | 1 | /* $OpenBSD: obj_dat.c,v 1.72 2023/12/14 18:06:44 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -605,7 +605,7 @@ OBJ_create(const char *oid, const char *sn, const char *ln) | |||
605 | i = a2d_ASN1_OBJECT(buf, i, oid, -1); | 605 | i = a2d_ASN1_OBJECT(buf, i, oid, -1); |
606 | if (i == 0) | 606 | if (i == 0) |
607 | goto err; | 607 | goto err; |
608 | op = (ASN1_OBJECT *)ASN1_OBJECT_create(OBJ_new_nid(1), buf, i, sn, ln); | 608 | op = ASN1_OBJECT_create(OBJ_new_nid(1), buf, i, sn, ln); |
609 | if (op == NULL) | 609 | if (op == NULL) |
610 | goto err; | 610 | goto err; |
611 | ok = OBJ_add_object(op); | 611 | ok = OBJ_add_object(op); |