summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-12-28 11:27:31 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-01-13 09:09:36 +0100
commitbf973d0697e61a44dc46d08b0421a08a8cb61887 (patch)
tree023ed993172263fa1c261e8321d77b325380d95f /util
parent5a2d0ef36f4c130758a9d5e84f93004458e3ce60 (diff)
Add X509_NAME_hash_ex() to be able to check if it failed due to unsupported SHA1
Deprecate X509_NAME_hash() Document X509_NAME_hash_ex(), X509_NAME_hash(), X509_{subject,issuer}_name_hash() Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13762)
Diffstat (limited to 'util')
-rwxr-xr-xutil/find-doc-nits2
-rw-r--r--util/libcrypto.num2
-rw-r--r--util/missingcrypto.txt1
-rw-r--r--util/other.syms1
4 files changed, 3 insertions, 3 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits
index 6d8b7144df..6c559ba05d 100755
--- a/util/find-doc-nits
+++ b/util/find-doc-nits
@@ -885,7 +885,7 @@ sub checkstate () {
err("$_ is supposedly public but is documented as internal")
if ( $declared_public && $name_map{$_} =~ /\/internal\// );
- err("$_ is supposedly internal but is documented as public")
+ err("$_ is supposedly internal (maybe missing from other.syms) but is documented as public")
if ( $declared_internal && $name_map{$_} !~ /\/internal\// );
}
}
diff --git a/util/libcrypto.num b/util/libcrypto.num
index 289a6672f9..aa35b4185c 100644
--- a/util/libcrypto.num
+++ b/util/libcrypto.num
@@ -1345,7 +1345,7 @@ EVP_PKEY_asn1_free 1375 3_0_0 EXIST::FUNCTION:
ENGINE_unregister_DH 1376 3_0_0 EXIST::FUNCTION:DEPRECATEDIN_3_0,ENGINE
PROXY_CERT_INFO_EXTENSION_it 1377 3_0_0 EXIST::FUNCTION:
CT_POLICY_EVAL_CTX_set1_cert 1378 3_0_0 EXIST::FUNCTION:CT
-X509_NAME_hash 1379 3_0_0 EXIST::FUNCTION:
+X509_NAME_hash_ex 1379 3_0_0 EXIST::FUNCTION:
SCT_set_timestamp 1380 3_0_0 EXIST::FUNCTION:CT
UI_new 1381 3_0_0 EXIST::FUNCTION:
TS_REQ_get_msg_imprint 1382 3_0_0 EXIST::FUNCTION:TS
diff --git a/util/missingcrypto.txt b/util/missingcrypto.txt
index 8a2c773e1d..b547e52858 100644
--- a/util/missingcrypto.txt
+++ b/util/missingcrypto.txt
@@ -1333,7 +1333,6 @@ X509_INFO_free(3)
X509_INFO_new(3)
X509_NAME_ENTRY_it(3)
X509_NAME_ENTRY_set(3)
-X509_NAME_hash(3)
X509_NAME_hash_old(3)
X509_NAME_it(3)
X509_NAME_set(3)
diff --git a/util/other.syms b/util/other.syms
index f35b354cbb..3ffbcb1005 100644
--- a/util/other.syms
+++ b/util/other.syms
@@ -588,6 +588,7 @@ X509_LOOKUP_load_file define
X509_LOOKUP_load_file_ex define
X509_LOOKUP_load_store define
X509_LOOKUP_load_store_ex define
+X509_NAME_hash define
X509_STORE_set_lookup_crls_cb define
X509_STORE_set_verify_func define
EVP_PKEY_CTX_set1_id define