openssl/crypto
Richard Levitte 9f604ca13d STORE: Fix OSSL_STORE_attach() to check |ui_method| before use
ossl_pw_set_ui_method() demands that the passed |ui_method| be
non-NULL, and OSSL_STORE_attach() didn't check it beforehand.

While we're at it, we remove the passphrase caching that's set at the
library level, and trust the implementations to deal with that on
their own as needed.

Fixes #12830

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12831)
2020-09-10 13:39:30 +02:00
..
aes Ignore vendor name in Clang version number. 2020-08-27 20:27:26 -07:00
aria
asn1 Add CMS AuthEnvelopedData with AES-GCM support 2020-09-08 15:43:11 +02:00
async Update copyright year 2020-07-16 14:47:04 +02:00
bf
bio Slightly abstract ktls_start() to reduce OS-specific #ifdefs. 2020-09-05 20:11:50 -07:00
bn Diverse build.info: Adjust paths 2020-09-10 09:50:56 +02:00
buffer
camellia
cast Fix logic error for building x86 CAST assembly 2020-06-14 12:35:34 -07:00
chacha Ignore vendor name in Clang version number. 2020-08-27 20:27:26 -07:00
cmac Delete unused PKEY MAC files 2020-08-29 17:40:11 +10:00
cmp bugfix in apps/cmp.c and cmp_client.c: inconsistencies on retrieving extraCerts in code and doc 2020-09-10 07:40:45 +02:00
cms Add CMS AuthEnvelopedData with AES-GCM support 2020-09-08 15:43:11 +02:00
comp
conf Fix memory leaks in conf_def.c 2020-09-07 18:06:45 +10:00
crmf Use in CMP+CRMF libctx and propq param added to sign/verify/HMAC/decrypt 2020-08-21 09:04:13 +02:00
ct Add EVP signature with libctx methods. 2020-08-09 17:34:52 +10:00
des Build: Remove faulty DES assembler spec 2020-06-20 11:02:18 +02:00
dh Fix coverity CID #1465967 & #1465968 - fix NULL dereference in dh_ameth.c 2020-09-05 15:41:31 +10:00
dsa Add multiple fixes for ffc key generation using invalid p,q,g parameters. 2020-07-09 13:43:10 +10:00
dso Changed uintptr_t to size_t. WinCE6 doesn't seem it have the definition. 2020-07-15 23:03:21 +02:00
ec EVP: Move the functions and controls for setting and getting distid 2020-09-08 12:07:40 +02:00
encode_decode ENCODER: Refactor provider implementations, and some cleanup 2020-09-09 16:35:22 +02:00
engine EVP: deprecate the EVP_X_meth_ functions. 2020-07-22 20:19:01 +10:00
err ENCODER: Refactor provider implementations, and some cleanup 2020-09-09 16:35:22 +02:00
ess Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
evp Fix an EVP_MD_CTX leak 2020-09-10 11:35:42 +02:00
ffc Fix coverity CID #1457935 - Check return value in ffc_params.c for BIO_indent/BIO_puts calls. 2020-09-05 15:41:31 +10:00
hmac Delete unused PKEY MAC files 2020-08-29 17:40:11 +10:00
http OSSL_HTTP_parse_url(): add optional port number return parameter and strengthen documentation 2020-09-08 15:36:24 +02:00
idea
kdf
lhash
md2
md4
md5 In a non-shared build, don't include the md5 object files in legacy provider 2020-09-09 17:59:08 +10:00
mdc2
modes Ignore vendor name in Clang version number. 2020-08-27 20:27:26 -07:00
objects Add 4 new OIDs for PKIX key purposes and 3 new CMP information types 2020-09-08 23:22:29 +02:00
ocsp Add OCSP_PARTIAL_CHAIN to OCSP_basic_verify() 2020-08-27 20:03:39 +02:00
pem PEM: Make PEM_write_bio_PrivateKey_traditional() handle provider-native keys 2020-09-08 16:45:11 +02:00
perlasm Fix many MarkDown issues in {NOTES*,README*,HACKING,LICENSE}.md files 2020-07-05 11:29:43 +02:00
pkcs7 "Downgrade" provider-native keys to legacy where needed 2020-09-03 17:48:32 +02:00
pkcs12 New GOST PKCS12 standard support 2020-09-08 09:14:05 +03:00
poly1305 Diverse build.info: Adjust paths 2020-09-10 09:50:56 +02:00
property Rename OSSL_SERIALIZER / OSSL_DESERIALIZER to OSSL_ENCODE / OSSL_DECODE 2020-08-21 09:23:58 +02:00
rand rand: instantiate the DRBGs upon first use. 2020-08-28 10:19:56 +10:00
rc2
rc4
rc5
ripemd Diverse build.info: Adjust paths 2020-09-10 09:50:56 +02:00
rsa Fix typo in FIPS_MODULE endif macro comment 2020-09-03 10:54:00 +10:00
seed
sha Ignore vendor name in Clang version number. 2020-08-27 20:27:26 -07:00
siphash Delete unused PKEY MAC files 2020-08-29 17:40:11 +10:00
sm2 Add evp_test fixes. 2020-08-07 14:29:00 +10:00
sm3
sm4
srp
stack
store STORE: Fix OSSL_STORE_attach() to check |ui_method| before use 2020-09-10 13:39:30 +02:00
ts Introduce X509_add_cert[s] simplifying various additions to cert lists 2020-08-12 13:54:37 +02:00
txt_db
ui
whrlpool
x509 X509_NAME_cmp: restrict normal return values to {-1,0,1} to avoid confusion with -2 for error 2020-09-10 12:07:33 +02:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h
armcap.c
armv4cpuid.pl
asn1_dsa.c
bsearch.c
build.info Punycode decoding implementation 2020-08-26 14:04:11 +03:00
c64xpluscpuid.pl
context.c CORE: Add an internal function to distinguish the global default context 2020-06-28 10:55:52 +02:00
core_algorithm.c Fix post-condition in algorithm_do_this 2020-09-02 15:21:11 -07:00
core_fetch.c
core_namemap.c namemap: fix threading issue 2020-07-29 17:31:32 +10:00
cpt_err.c
cryptlib.c
ctype.c
cversion.c
der_writer.c Change the provider implementation of X942kdf to use wpacket to do der encoding of sharedInfo 2020-08-04 12:18:51 +10:00
dllmain.c
ebcdic.c
ex_data.c
getenv.c Windows get ENV value as UTF-8 encoded string instead of a raw string 2020-08-22 15:05:56 +10:00
ia64cpuid.S
info.c Print CPUINFO also for s390 processors 2020-06-22 02:35:01 +02:00
init.c STORE: Deprecate legacy / ENGINE functions 2020-09-03 17:48:32 +02:00
initthread.c Fix coverity CID #1454815 - NULL ptr dereference in initthread.c 2020-09-05 15:41:31 +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 Fix wrong return value check of mmap function 2020-06-23 10:08:28 +10:00
mem.c
mips_arch.h
o_dir.c
o_fopen.c
o_init.c
o_str.c Enable WinCE build without deceiving _MSC_VER. 2020-07-15 23:03:22 +02:00
o_time.c Update copyright year 2020-07-16 14:47:04 +02:00
packet.c
param_build_set.c
param_build.c params: add OSSL_PARAM helpers for time_t. 2020-06-24 20:05:41 +10:00
params_from_text.c
params.c OSSL_PARAM: Add string pointer getters 2020-08-24 10:02:26 +02:00
pariscid.pl
passphrase.c CORE: Fix small bug in passphrase caching 2020-09-03 17:48:32 +02:00
ppc_arch.h
ppccap.c
ppccpuid.pl
provider_conf.c provider_conf: report missing section on error 2020-08-28 19:21:28 +10:00
provider_core.c STORE: Add a built-in 'file:' storemgmt implementation (loader) 2020-09-03 17:48:32 +02:00
provider_local.h
provider_predefined.c serialisation: Add a built-in base provider. 2020-07-30 20:15:22 +10:00
provider.c provider: disable fall-backs if OSSL_PROVIDER_load() fails. 2020-08-14 18:17:47 +10:00
punycode.c Punycode decoding implementation 2020-08-26 14:04:11 +03:00
README-sparse_array.md Fix many MarkDown issues in {NOTES*,README*,HACKING,LICENSE}.md files 2020-07-05 11:29:43 +02:00
s390x_arch.h
s390xcap.c
s390xcpuid.pl
self_test_core.c
sparc_arch.h
sparccpuid.S
sparcv9cap.c
sparse_array.c Add 'on demand self test' and status test to providers 2020-08-09 18:06:52 +10:00
threads_none.c
threads_pthread.c
threads_win.c
trace.c Update copyright year 2020-07-16 14:47:04 +02:00
uid.c
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl