openssl/crypto/asn1
Richard Levitte 6eb648941e fix: drop DSA <=> dsaWithSHA1 aliasing
For some reason, DSA has been aliased with dsaWithSHA1 for an eternity.
They are not the same, though, and should never have been aliased in the
first place.

This was first discovered with 'openssl list':

    $ openssl list -signature-algorithms
    ...
    { 1.2.840.10040.4.1, 1.2.840.10040.4.3, 1.3.14.3.2.12, 1.3.14.3.2.13, 1.3.14.3.2.27, DSA, DSA-old, DSA-SHA, DSA-SHA1, DSA-SHA1-old, dsaEncryption, dsaEncryption-old, dsaWithSHA, dsaWithSHA1, dsaWithSHA1-old } @ default

This isn't good at all, as it confuses the key algorithms signature
function with a signature scheme that involves SHA1, and it makes it
look like OpenSSL's providers offer a DSA-SHA1 implementation (which
they currently do not do).

Breaking this aliasing apart (i.e. aliasing DSA, DSA-old, dsaEncryption
and dsaEncryption-old separately from the names that involve SHA) appears
harmless as far as OpenSSL's test suite goes.

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24828)
2024-07-12 11:20:23 +02:00
..
a_bitstr.c Copyright year updates 2023-09-07 09:59:15 +01:00
a_d2i_fp.c
a_digest.c
a_dup.c
a_gentm.c
a_i2d_fp.c
a_int.c
a_mbstr.c Fix error handling in ASN1_mbstring_ncopy 2023-12-29 10:23:29 +01:00
a_object.c
a_octet.c
a_print.c
a_sign.c
a_strex.c
a_strnid.c Copyright year updates 2023-09-07 09:59:15 +01:00
a_time.c Move ossl_asn1_string_to_time_t() to libtestutil 2024-05-07 12:07:49 +02:00
a_type.c
a_utctm.c
a_utf8.c
a_verify.c ASN1_item_verify_ctx(): Return -1 on fatal errors 2024-06-21 10:03:42 +02:00
ameth_lib.c
asn1_err.c Copyright year updates 2024-04-09 13:43:26 +02:00
asn1_gen.c Do not include crypto/asn1.h from internal/cryptlib.h 2023-10-19 10:15:56 +02:00
asn1_item_list.c Add RFC 5755 attribute certificate support 2024-04-24 14:05:32 +01:00
asn1_item_list.h Add RFC 5755 attribute certificate support 2024-04-24 14:05:32 +01:00
asn1_lib.c
asn1_local.h
asn1_parse.c Copyright year updates 2023-09-07 09:59:15 +01:00
asn_mime.c Copyright year updates 2023-09-07 09:59:15 +01:00
asn_moid.c Harden asn1 oid loader to invalid inputs 2023-12-13 11:10:36 -05:00
asn_mstbl.c Copyright year updates 2024-04-09 13:43:26 +02:00
asn_pack.c Copyright year updates 2023-09-07 09:59:15 +01:00
bio_asn1.c
bio_ndef.c Copyright year updates 2023-09-07 09:59:15 +01:00
build.info
charmap.h
charmap.pl
d2i_param.c
d2i_pr.c Copyright year updates 2023-09-07 09:59:15 +01:00
d2i_pu.c
evp_asn1.c
f_int.c
f_string.c
i2d_evp.c Copyright year updates 2023-09-07 09:59:15 +01:00
n_pkey.c
nsseq.c
p5_pbe.c Copyright year updates 2023-09-07 09:59:15 +01:00
p5_pbev2.c Copyright year updates 2023-09-07 09:59:15 +01:00
p5_scrypt.c Copyright year updates 2023-09-07 09:59:15 +01:00
p8_pkey.c
standard_methods.h fix: drop DSA <=> dsaWithSHA1 aliasing 2024-07-12 11:20:23 +02:00
t_bitst.c
t_pkey.c
t_spki.c
tasn_dec.c Copyright year updates 2024-04-09 13:43:26 +02:00
tasn_enc.c
tasn_fre.c
tasn_new.c
tasn_prn.c
tasn_scn.c
tasn_typ.c
tasn_utl.c Copyright year updates 2023-09-07 09:59:15 +01:00
tbl_standard.h
x_algor.c
x_bignum.c
x_info.c
x_int64.c
x_long.c
x_pkey.c
x_sig.c
x_spki.c
x_val.c