diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-05-09 17:13:07 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-05-09 17:13:07 +0000 |
commit | 6040120f8d2b4da3bc096525a42d044eb9f54361 (patch) | |
tree | 806dc1cb6a4483160dd3e3ffd0df6ffae2370a1a | |
parent | f514202260d936fe427fa60a803b2f30406110a2 (diff) |
Commit file missed in previous.
-rw-r--r-- | usr.sbin/rpki-client/x509.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/rpki-client/x509.c b/usr.sbin/rpki-client/x509.c index 947cf3f167c..70491e0a637 100644 --- a/usr.sbin/rpki-client/x509.c +++ b/usr.sbin/rpki-client/x509.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.c,v 1.41 2022/04/15 12:59:44 tb Exp $ */ +/* $OpenBSD: x509.c,v 1.42 2022/05/09 17:13:06 tb Exp $ */ /* * Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -42,6 +42,7 @@ ASN1_OBJECT *cnt_type_oid; /* pkcs-9 id-contentType */ ASN1_OBJECT *msg_dgst_oid; /* pkcs-9 id-messageDigest */ ASN1_OBJECT *sign_time_oid; /* pkcs-9 id-signingTime */ ASN1_OBJECT *bin_sign_time_oid; /* pkcs-9 id-aa-binarySigningTime */ +ASN1_OBJECT *rsc_oid; /* id-ct-signedChecklist */ void x509_init_oid(void) @@ -76,6 +77,10 @@ x509_init_oid(void) OBJ_txt2obj("1.2.840.113549.1.9.16.2.46", 1)) == NULL) errx(1, "OBJ_txt2obj for %s failed", "1.2.840.113549.1.9.16.2.46"); + if ((rsc_oid = OBJ_txt2obj("1.2.840.113549.1.9.16.1.48", 1)) == NULL) + errx(1, "OBJ_txt2obj for %s failed", + "1.2.840.113549.1.9.16.1.48"); + } /* |