obj_xref: rsassaPss must map to 'undef rsassaPss' (not 'undef rsaEncryption')
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Wed, 27 Jan 2021 09:30:03 +0000 (10:30 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Thu, 28 Jan 2021 14:05:04 +0000 (15:05 +0100)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13968)

crypto/objects/obj_xref.h
crypto/objects/obj_xref.txt

index 0f8a05652e99730b1b04c19bb190b221121d6641..21a193ee98bc22dd10bc6bcf7261774f1fc49f13 100644 (file)
@@ -53,7 +53,7 @@ static const nid_triple sigoid_srt[] = {
      NID_id_GostR3410_94_cc},
     {NID_id_GostR3411_94_with_GostR3410_2001_cc, NID_id_GostR3411_94,
      NID_id_GostR3410_2001_cc},
-    {NID_rsassaPss, NID_undef, NID_rsaEncryption},
+    {NID_rsassaPss, NID_undef, NID_rsassaPss},
     {NID_dhSinglePass_stdDH_sha1kdf_scheme, NID_sha1, NID_dh_std_kdf},
     {NID_dhSinglePass_stdDH_sha224kdf_scheme, NID_sha224, NID_dh_std_kdf},
     {NID_dhSinglePass_stdDH_sha256kdf_scheme, NID_sha256, NID_dh_std_kdf},
index f3dd8ed31808560d49d438653b19ae4be50b6b5b..2a61d4db59275d5e31cd1004b8a7e7f7541f0782 100644 (file)
@@ -20,7 +20,7 @@ RSA_SHA3_512          sha3_512 rsaEncryption
 # For PSS the digest algorithm can vary and depends on the included
 # AlgorithmIdentifier. The digest "undef" indicates the public key
 # method should handle this explicitly.
-rsassaPss              undef   rsaEncryption
+rsassaPss              undef   rsassaPss
 ED25519                    undef       ED25519
 ED448              undef       ED448