openssl/crypto
Frederik Wedel-Heinen dfce0d7418 Return NULL from ossl_lib_ctx_get_concrete() when it is uninitialized
When default_context_inited is set to false we return NULL instead of
the global default context.

Fixes #25442

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26319)
2025-01-08 11:18:13 +01:00
..
aes
aria
asn1 Clean up ASN1_STRING comment and improve example in docs 2025-01-06 20:39:22 +01:00
async one more empty line for code style consistency 2024-12-06 15:27:51 +01:00
bf
bio Fix potential memory leak in BIO_get_accept_socket() 2025-01-02 14:06:51 +01:00
bn Code & comments changes to make them in consistent 2024-12-06 15:27:51 +01:00
buffer
camellia
cast
chacha Mark OPENSSL_armcap_P .hidden in arm asm 2024-11-22 11:22:00 +01:00
cmac
cmp Fix doc and use of_X509v3_add_extensions() in case sk_X509_EXTENSION_num(exts) <= 0 2024-11-13 17:19:58 +01:00
cms Fix CMS encryption with key agreement when originator set 2025-01-06 11:45:02 +01:00
comp
conf Check returns of various sk_*_push functions 2025-01-08 11:11:00 +01:00
crmf
ct
des
dh Fix potential use-after-free in REF_PRINT_COUNT 2024-12-10 14:58:08 +01:00
dsa Fix potential use-after-free in REF_PRINT_COUNT 2024-12-10 14:58:08 +01:00
dso Fix potential use-after-free in REF_PRINT_COUNT 2024-12-10 14:58:08 +01:00
ec Fix potential use-after-free in REF_PRINT_COUNT 2024-12-10 14:58:08 +01:00
encode_decode Pass functions with correct signatures to the evp_generic_fetch_xxx methods 2025-01-07 21:24:13 +01:00
engine
err Fix CMS encryption with key agreement when originator set 2025-01-06 11:45:02 +01:00
ess
evp Pass functions with correct signatures to the evp_generic_fetch_xxx methods 2025-01-07 21:24:13 +01:00
ffc ffc: change FIPS zeroization to use the OPENSSL_PEDANTIC_ZEROIZATION define 2024-11-28 15:13:35 +01:00
hashtable
hmac
hpke Fix potential memory leak in OSSL_HPKE_CTX_new() 2024-10-30 11:58:16 +00:00
http OSSL_HTTP_adapt_proxy(): fix handling of escaped IPv6 host addresses and of whitespace in no_proxy 2024-09-23 22:15:50 +02:00
idea
kdf
lhash
md2
md4
md5 Optimize x86/aarch64 MD5 implementation 2025-01-06 11:43:36 +01:00
mdc2
modes Code & comments changes to make them in consistent 2024-12-06 15:27:51 +01:00
objects Some PQ-related CSOR OIDs 2025-01-07 23:01:44 +11:00
ocsp Check returns of various sk_*_push functions 2025-01-08 11:11:00 +01:00
pem
perlasm Extension of OPENSSL_ia32cap to accommodate additional CPUID bits 2024-12-13 14:51:22 +01:00
pkcs7 Avoid NULL dereference with PKCS7_OP_SET_DETACHED_SIGNATURE 2024-12-02 09:44:58 +01:00
pkcs12 Fix potential memory leak in PKCS12_add_key_ex() 2025-01-06 21:32:50 +01:00
poly1305 Mark OPENSSL_armcap_P .hidden in arm asm 2024-11-22 11:22:00 +01:00
property Avoid leaking memory when realloc fails 2025-01-03 15:58:26 +01:00
rand Return NULL from ossl_lib_ctx_get_concrete() when it is uninitialized 2025-01-08 11:18:13 +01:00
rc2
rc4
rc5
ripemd
rsa Fix potential use-after-free in REF_PRINT_COUNT 2024-12-10 14:58:08 +01:00
seed
sha Mark OPENSSL_armcap_P .hidden in arm asm 2024-11-22 11:22:00 +01:00
siphash
sm2 sm2_sig_verify(): Do not call BN_CTX_end() without BN_CTX_start() 2024-11-21 11:13:56 +01:00
sm3
sm4
srp Fix potential double free through SRP_user_pwd_set1_ids() 2024-10-11 14:22:36 +02:00
stack
store
thread
ts
txt_db
ui
whrlpool
x509 feat: support the allowedAttributeAssignments X.509v3 extension 2025-01-02 20:06:59 +01:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h
armcap.c Enable AES and SHA3 optimisations on Apple Silicon M4-based macOS systems 2024-11-22 14:56:04 +01:00
armv4cpuid.pl Mark OPENSSL_armcap_P .hidden in arm asm 2024-11-22 11:22:00 +01:00
asn1_dsa.c
bsearch.c
build.info
c64xpluscpuid.pl
comp_methods.c
context.c Return NULL from ossl_lib_ctx_get_concrete() when it is uninitialized 2025-01-08 11:18:13 +01:00
core_algorithm.c
core_fetch.c Take into account no_store when pushing algorithm 2024-12-20 18:20:17 +01:00
core_namemap.c core_namemap.c: Use OPENSSL_STRING instead of defining STRING type 2024-12-31 15:03:13 +01:00
cpt_err.c
cpuid.c Extension of OPENSSL_ia32cap to accommodate additional CPUID bits 2024-12-13 14:51:22 +01:00
cryptlib.c
ctype.c
cversion.c Revert API change of OPENSSL_version() 2024-10-17 13:36:58 +02:00
defaults.c
der_writer.c
deterministic_nonce.c
dllmain.c
ebcdic.c
ex_data.c
getenv.c
ia64cpuid.S
indicator_core.c
info.c Extension of OPENSSL_ia32cap to accommodate additional CPUID bits 2024-12-13 14:51:22 +01:00
init.c
initthread.c
loongarch64cpuid.pl
loongarch_arch.h
loongarchcap.c
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
mem_clr.c
mem_sec.c
mem.c Use static array (length 256) for copy of OPENSSL_MALLOC_FAILURES 2024-11-28 17:01:28 +01:00
mips_arch.h
o_dir.c
o_fopen.c
o_init.c
o_str.c
o_time.c
packet.c
param_build_set.c
param_build.c
params_dup.c
params_from_text.c Make ossl_trace_param_values an official api function 2024-11-19 08:38:25 -05:00
params_idx.c.in
params.c
pariscid.pl
passphrase.c
ppccap.c
ppccpuid.pl
provider_child.c
provider_conf.c
provider_core.c Make ossl_trace_param_values an official api function 2024-11-19 08:38:25 -05:00
provider_local.h
provider_predefined.c
provider.c
punycode.c
quic_vlint.c
rcu_internal.h
README-sparse_array.md
riscv32cpuid.pl
riscv64cpuid.pl
riscvcap.c Avoid undefined behaviour with the <ctype.h> functions. 2024-10-10 20:47:48 +02:00
s390x_arch.h s390x: Don't probe crypto cards for ME/CRT offloading during initialization 2024-10-23 15:07:01 +02:00
s390xcap.c s390x: Don't probe crypto cards for ME/CRT offloading during initialization 2024-10-23 15:07:01 +02:00
s390xcpuid.pl
self_test_core.c
sleep.c
sparccpuid.S
sparcv9cap.c
sparse_array.c
threads_lib.c
threads_none.c
threads_pthread.c Fix breakage on arm64_32 platforms 2024-12-13 15:05:21 +01:00
threads_win.c
time.c
trace.c Add a QUERY trace category 2024-11-19 08:36:19 -05:00
uid.c
vms_rms.h
x86_64cpuid.pl Extension of OPENSSL_ia32cap to accommodate additional CPUID bits 2024-12-13 14:51:22 +01:00
x86cpuid.pl Extension of OPENSSL_ia32cap to accommodate additional CPUID bits 2024-12-13 14:51:22 +01:00