]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: less stale reference to PKCS#1 1.5 hash OIDs; feedback
authordjm@openbsd.org <djm@openbsd.org>
Thu, 24 Jul 2025 06:59:51 +0000 (06:59 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 24 Jul 2025 23:30:38 +0000 (09:30 +1000)
from tb@

OpenBSD-Commit-ID: 9fda77978491a130a7b77d87d40c79277b796721

ssh-pkcs11.c

index 147c52049500367aa4811c3a94b6c6b9cba8c612..c28da677d4db3a9d6969871fcbba5746b89e95f4 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-pkcs11.c,v 1.65 2025/07/24 05:44:55 djm Exp $ */
+/* $OpenBSD: ssh-pkcs11.c,v 1.66 2025/07/24 06:59:51 djm Exp $ */
 /*
  * Copyright (c) 2010 Markus Friedl.  All rights reserved.
  * Copyright (c) 2014 Pedro Martelletto. All rights reserved.
@@ -467,8 +467,7 @@ pkcs11_lookup_key(struct sshkey *key)
 #ifdef WITH_OPENSSL
 /*
  * See:
- * http://www.rsasecurity.com/rsalabs/pkcs/pkcs-1/
- * ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1.asn
+ * https://datatracker.ietf.org/doc/html/rfc8017#section-9.2
  */
 
 /*
@@ -485,7 +484,6 @@ static const u_char id_sha1[] = {
 };
 
 /*
- * See http://csrc.nist.gov/groups/ST/crypto_apps_infra/csor/algorithms.html
  * id-sha256 OBJECT IDENTIFIER ::= { joint-iso-itu-t(2) country(16) us(840)
  *      organization(1) gov(101) csor(3) nistAlgorithm(4) hashAlgs(2)
  *      id-sha256(1) }
@@ -500,7 +498,6 @@ static const u_char id_sha256[] = {
 };
 
 /*
- * See http://csrc.nist.gov/groups/ST/crypto_apps_infra/csor/algorithms.html
  * id-sha512 OBJECT IDENTIFIER ::= { joint-iso-itu-t(2) country(16) us(840)
  *      organization(1) gov(101) csor(3) nistAlgorithm(4) hashAlgs(2)
  *      id-sha256(3) }