diff options
| author | tb <> | 2022-01-14 08:38:06 +0000 |
|---|---|---|
| committer | tb <> | 2022-01-14 08:38:06 +0000 |
| commit | d5bd2d64a9d8dacaf683f88f953d25c96a7009ff (patch) | |
| tree | c82726f940ee4796d12475c7295f11404867aae9 /src/lib/libcrypto/Makefile | |
| parent | 0264d15b2db8e92add54fc0b024d5430c53683d3 (diff) | |
| download | openbsd-d5bd2d64a9d8dacaf683f88f953d25c96a7009ff.tar.gz openbsd-d5bd2d64a9d8dacaf683f88f953d25c96a7009ff.tar.bz2 openbsd-d5bd2d64a9d8dacaf683f88f953d25c96a7009ff.zip | |
Remove legacy sign/verify from EVP_MD.
This removes m_dss.c, m_dss1.c, and m_ecdsa.c and the corresponding
public API EVP_{dss,dss1,ecdsa}().
This is basically the following OpenSSL commit. The mentioned change in
RSA is already present in rsa/rsa_pmeth.c.
ok inoguchi jsing
commit 7f572e958b13041056f377a62d3219633cfb1e8a
Author: Dr. Stephen Henson <steve@openssl.org>
Date: Wed Dec 2 13:57:04 2015 +0000
Remove legacy sign/verify from EVP_MD.
Remove sign/verify and required_pkey_type fields of EVP_MD: these are a
legacy from when digests were linked to public key types. All signing is
now handled by the corresponding EVP_PKEY_METHOD.
Only allow supported digest types in RSA EVP_PKEY_METHOD: other algorithms
already block unsupported types.
Remove now obsolete EVP_dss1() and EVP_ecdsa().
Reviewed-by: Richard Levitte <levitte@openssl.org>
Plus OpenSSL commit 625a9baf11c1dd94f17e5876b6ee8d6271b3921d for m_dss.c
Diffstat (limited to 'src/lib/libcrypto/Makefile')
| -rw-r--r-- | src/lib/libcrypto/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 6bbe8ad9de..00cd2e0721 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.70 2022/01/14 08:12:31 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.71 2022/01/14 08:38:05 tb Exp $ |
| 2 | 2 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
| @@ -175,8 +175,7 @@ SRCS+= encode.c digest.c evp_enc.c evp_key.c | |||
| 175 | SRCS+= e_des.c e_bf.c e_idea.c e_des3.c e_camellia.c | 175 | SRCS+= e_des.c e_bf.c e_idea.c e_des3.c e_camellia.c |
| 176 | SRCS+= e_rc4.c e_aes.c names.c | 176 | SRCS+= e_rc4.c e_aes.c names.c |
| 177 | SRCS+= e_xcbc_d.c e_rc2.c e_cast.c | 177 | SRCS+= e_xcbc_d.c e_rc2.c e_cast.c |
| 178 | SRCS+= m_null.c m_md4.c m_md5.c m_sha1.c m_sm3.c m_wp.c | 178 | SRCS+= m_null.c m_md4.c m_md5.c m_ripemd.c m_sha1.c m_sm3.c m_wp.c |
| 179 | SRCS+= m_dss.c m_dss1.c m_ripemd.c m_ecdsa.c | ||
| 180 | SRCS+= p_open.c p_seal.c p_sign.c p_verify.c p_lib.c p_enc.c p_dec.c | 179 | SRCS+= p_open.c p_seal.c p_sign.c p_verify.c p_lib.c p_enc.c p_dec.c |
| 181 | SRCS+= bio_md.c bio_b64.c bio_enc.c evp_err.c e_null.c | 180 | SRCS+= bio_md.c bio_b64.c bio_enc.c evp_err.c e_null.c |
| 182 | SRCS+= c_all.c evp_lib.c | 181 | SRCS+= c_all.c evp_lib.c |
