diff options
author | Job Snijders <job@cvs.openbsd.org> | 2024-02-13 20:37:16 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2024-02-13 20:37:16 +0000 |
commit | 3d135bca13e15a764e82e146e2ca37b20392a627 (patch) | |
tree | 06c200c5a3435934aaeda0500961787919ea51e5 /usr.sbin | |
parent | fdd917f1850e9326aa0da06711a1d15014b3fe43 (diff) |
Improve a comment about what exactly the SKI is
OK tb@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpki-client/x509.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/rpki-client/x509.c b/usr.sbin/rpki-client/x509.c index dd0f3301723..0654ede3451 100644 --- a/usr.sbin/rpki-client/x509.c +++ b/usr.sbin/rpki-client/x509.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.c,v 1.77 2024/02/01 15:11:38 tb Exp $ */ +/* $OpenBSD: x509.c,v 1.78 2024/02/13 20:37:15 job Exp $ */ /* * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> * Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org> @@ -191,8 +191,9 @@ out: } /* - * Parse X509v3 subject key identifier (SKI), RFC 6487 sec. 4.8.2. - * The SKI must be the SHA1 hash of the Subject Public Key. + * Parse X509v3 subject key identifier (SKI), RFC 6487 section 4.8.2: + * "The SKI is a SHA-1 hash of the value of the DER-encoded ASN.1 BIT STRING of + * the Subject Public Key, as described in Section 4.2.1.2 of RFC 5280." * Returns the SKI formatted as hex string, or NULL if it couldn't be parsed. */ int |