openssl/crypto
Christian Heimes dfccfde065 Inherit hostflags verify params even without hosts
X509_VERIFY_PARAM_inherit() now copies hostflags independently of hosts.

Previously hostflags were only copied when at least one host was set.
Typically applications don't configure hosts on SSL_CTX. The change
enables applications to configure hostflags on SSL_CTX and have OpenSSL
copy the flags from SSL_CTX to SSL.

Fixes: https://github.com/openssl/openssl/issues/14579
Signed-off-by: Christian Heimes <christian@python.org>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14743)
2021-04-09 08:32:38 +10:00
..
aes
aria Update copyright year 2021-04-08 13:04:41 +01:00
asn1 d2i_PrivateKey_decoder(): Fix premature exit on unsuccessful OSSL_DECODER_CTX_new_for_pkey() 2021-04-08 15:18:58 +02:00
async Update copyright year 2021-04-08 13:04:41 +01:00
bf
bio Update copyright year 2021-04-08 13:04:41 +01:00
bn Update copyright year 2021-04-08 13:04:41 +01:00
buffer
camellia
cast
chacha
cmac
cmp Add ossl_ x509 symbols 2021-03-18 17:52:38 +10:00
cms Update copyright year 2021-04-08 13:04:41 +01:00
comp Update copyright year 2021-04-08 13:04:41 +01:00
conf Update copyright year 2021-04-08 13:04:41 +01:00
crmf Update copyright year 2021-03-11 13:27:36 +00:00
ct Update copyright year 2021-04-08 13:04:41 +01:00
des
dh dh: fix coverity 1473238: argument cannot be negative 2021-04-08 08:49:27 +10:00
dsa DSA_generate_parameters_ex: use the old method for all small keys 2021-04-01 15:50:45 +02:00
dso
ec Update copyright year 2021-04-08 13:04:41 +01:00
encode_decode Update copyright year 2021-04-08 13:04:41 +01:00
engine Update copyright year 2021-04-08 13:04:41 +01:00
err Update copyright year 2021-04-08 13:04:41 +01:00
ess Fix usages of const EVP_MD. 2021-03-22 15:40:04 +01:00
evp Update copyright year 2021-04-08 13:04:41 +01:00
ffc Update copyright year 2021-04-08 13:04:41 +01:00
hmac
http OSSL_HTTP_REQ_CTX_transfer(): improve distinction of send error vs. receive error 2021-03-31 19:53:05 +02:00
idea Update copyright year 2021-04-08 13:04:41 +01:00
kdf
lhash Update copyright year 2021-04-08 13:04:41 +01:00
md2
md4
md5
mdc2
modes Update copyright year 2021-04-08 13:04:41 +01:00
objects Update copyright year 2021-04-08 13:04:41 +01:00
ocsp Fix more certificate related lib_ctx settings. 2021-04-08 11:30:44 +10:00
pem PEM_X509_INFO_read_bio_ex(): Generalize to allow parsing any type of private key 2021-04-08 15:18:58 +02:00
perlasm
pkcs7 Deprecate the EVP_PKEY controls for CMS and PKCS#7 2021-04-06 09:10:11 +02:00
pkcs12 Update copyright year 2021-03-11 13:27:36 +00:00
poly1305 Update copyright year 2021-04-08 13:04:41 +01:00
property Update copyright year 2021-04-08 13:04:41 +01:00
rand Update copyright year 2021-04-08 13:04:41 +01:00
rc2
rc4
rc5
ripemd
rsa Update copyright year 2021-04-08 13:04:41 +01:00
seed
sha
siphash Fix a TODO(3.0) in the siphash code 2021-03-17 10:16:21 +10:00
sm2 Fix up issues found when running evp_extra_test with a non-default library context 2021-03-17 17:51:16 +10:00
sm3 Update copyright year 2021-04-08 13:04:41 +01:00
sm4 Update copyright year 2021-04-08 13:04:41 +01:00
srp Add ossl_bn_group symbols 2021-03-18 17:52:37 +10:00
stack
store Update copyright year 2021-04-08 13:04:41 +01:00
ts Update copyright year 2021-04-08 13:04:41 +01:00
txt_db
ui Update copyright year 2021-04-08 13:04:41 +01:00
whrlpool Update copyright year 2021-03-11 13:27:36 +00:00
x509 Inherit hostflags verify params even without hosts 2021-04-09 08:32:38 +10:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h
armcap.c
armv4cpuid.pl
asn1_dsa.c Update copyright year 2021-04-08 13:04:41 +01:00
bsearch.c
build.info Include BN assembler alongside CPUID code 2021-04-02 16:39:13 +02:00
c64xpluscpuid.pl
context.c property: lock the lib ctx when updating the property definition cache 2021-04-08 17:46:35 +10:00
core_algorithm.c rename ossl_provider_forall_loaded to ossl_provider_doall_activated 2021-03-12 09:14:00 +10:00
core_fetch.c
core_namemap.c Add ossl_lhash symbols 2021-03-18 17:52:38 +10:00
cpt_err.c
cpuid.c Refactor CPUID code 2021-04-02 16:39:13 +02:00
cryptlib.c Refactor CPUID code 2021-04-02 16:39:13 +02:00
ctype.c Update copyright year 2021-04-08 13:04:41 +01:00
cversion.c
der_writer.c
dllmain.c
ebcdic.c
ex_data.c Fix external symbols for crypto_* 2021-03-18 17:35:10 +10:00
getenv.c
ia64cpuid.S
info.c
init.c Update copyright year 2021-04-08 13:04:41 +01:00
initthread.c Convert a TODO(3.0) in OPENSSL_thread_stop_ex to a comment 2021-03-14 15:40:25 +10:00
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
mem_clr.c
mem_sec.c Update copyright year 2021-04-08 13:04:41 +01:00
mem.c
mips_arch.h
o_dir.c
o_fopen.c
o_init.c
o_str.c Update copyright year 2021-04-08 13:04:41 +01:00
o_time.c Update copyright year 2021-03-11 13:27:36 +00:00
packet.c
param_build_set.c Update copyright year 2021-03-11 13:27:36 +00:00
param_build.c param_build: check for the usage of secure memory better. 2021-04-08 18:31:10 +10:00
params_from_text.c params: fix coverity 1473069: unchecked return values 2021-03-26 08:46:02 +10:00
params.c Update copyright year 2021-03-11 13:27:36 +00:00
pariscid.pl
passphrase.c
ppc_arch.h
ppccap.c crypto/ppccap.c: Remove useless TODO 3.0 2021-03-04 14:15:01 +01:00
ppccpuid.pl
provider_conf.c Update copyright year 2021-03-11 13:27:36 +00:00
provider_core.c property: check return values from the property locking calls. 2021-04-08 17:46:35 +10:00
provider_local.h Update copyright year 2021-04-08 13:04:41 +01:00
provider_predefined.c Update copyright year 2021-04-08 13:04:41 +01:00
provider.c rename ossl_provider_forall_loaded to ossl_provider_doall_activated 2021-03-12 09:14:00 +10:00
punycode.c
README-sparse_array.md
s390x_arch.h
s390xcap.c
s390xcpuid.pl
self_test_core.c
sparc_arch.h
sparccpuid.S
sparcv9cap.c
sparse_array.c Update copyright year 2021-04-08 13:04:41 +01:00
threads_lib.c
threads_none.c Update copyright year 2021-04-08 13:04:41 +01:00
threads_pthread.c Always check CRYPTO_LOCK_{read,write}_lock 2021-03-14 15:33:34 +10:00
threads_win.c Always check CRYPTO_LOCK_{read,write}_lock 2021-03-14 15:33:34 +10:00
trace.c Update copyright year 2021-04-08 13:04:41 +01:00
uid.c
vms_rms.h
x86_64cpuid.pl Update copyright year 2021-04-08 13:04:41 +01:00
x86cpuid.pl