summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2023-03-06 09:14:30 +0000
committerJob Snijders <job@cvs.openbsd.org>2023-03-06 09:14:30 +0000
commit0c5cb6a66633f991d1c0d9e1f806f8a2e897c6d6 (patch)
tree365fad4a910fe21a8bcbacedb20d0ed674f0af74 /usr.sbin
parent68d6cecfb2d86bc97c7eebfd3f46a6a14823e39e (diff)
Fix comment
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rpki-client/cms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/cms.c b/usr.sbin/rpki-client/cms.c
index 79f6dbf91de..7e80109c18a 100644
--- a/usr.sbin/rpki-client/cms.c
+++ b/usr.sbin/rpki-client/cms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms.c,v 1.27 2023/02/21 10:18:47 tb Exp $ */
+/* $OpenBSD: cms.c,v 1.28 2023/03/06 09:14:29 job Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -194,7 +194,7 @@ cms_parse_validate_internal(X509 **xp, const char *fn, const unsigned char *der,
}
X509_ALGOR_get0(&obj, NULL, NULL, psig);
nid = OBJ_obj2nid(obj);
- /* RFC7395 last paragraph of section 2 specifies the allowed psig */
+ /* RFC7935 last paragraph of section 2 specifies the allowed psig */
if (nid != NID_rsaEncryption && nid != NID_sha256WithRSAEncryption) {
warnx("%s: RFC 6488: wrong signature algorithm %s, want %s",
fn, OBJ_nid2ln(nid), OBJ_nid2ln(NID_rsaEncryption));