openssl/crypto
Petr Mikhalicin 247a07f5bc Fix checking return code of EVP_PKEY_get_int_param at check_curve
According to docs, EVP_PKEY_get_int_param should return 1 on Success, and
0 on Failure. So, fix checking of this return value at check_curve

CLA: trivial

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20770)

(cherry picked from commit 4e5f3d6913)
2023-04-21 10:20:59 +02:00
..
aes aesv8-armx.pl: Avoid buffer overrread in AES-XTS decryption 2023-04-20 17:50:09 +02:00
aria Update copyright year 2021-04-08 13:04:41 +01:00
asn1 Improve the performance of d2i_AutoPrivateKey and friends 2023-03-15 08:40:32 +11:00
async Update copyright year 2022-03-15 13:52:58 +00:00
bf Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
bio Update copyright year 2023-03-14 12:49:46 +00:00
bn bn_local: remove unused `PTR_SIZE_INT` definition 2023-04-18 08:06:30 +10:00
buffer Update copyright year 2021-06-17 13:24:59 +01:00
camellia Rename x86-32 assembly files from .s to .S. 2022-05-24 13:17:03 +10:00
cast Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
chacha Do not build P10-specific AES-GCM assembler on macOS 2023-03-22 14:26:54 +01:00
cmac Update copyright year 2022-06-21 14:03:39 +01:00
cmp CMP cert_response(): add missing rejection status on client rejecting new cert 2023-04-18 09:12:57 +02:00
cms cms_ec.c: Fix broken backport of size_t fix in ecdh_cms_encrypt 2023-03-15 09:10:59 +01:00
comp Fix coverity 1493364 & 1493375: unchecked return value 2021-11-08 08:56:38 +10:00
conf Update copyright year 2022-12-01 12:47:05 +01:00
crmf Fix the check of EVP_PKEY_decrypt_init 2022-12-05 13:05:43 +01:00
ct Update copyright year 2022-06-21 14:03:39 +01:00
des Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
dh Update copyright year 2022-12-01 12:47:05 +01:00
dsa Make DSA_sign() test for negative p,q,g values. 2023-03-31 15:19:27 -04:00
dso Update copyright year 2022-12-01 12:47:05 +01:00
ec Fixes #19580 ECX keygen 2023-04-12 17:22:36 +10:00
encode_decode Update copyright year 2022-12-01 12:47:05 +01:00
engine Update copyright year 2022-12-01 12:47:05 +01:00
err Add option to FIPS module to enforce EMS check during KDF TLS1_PRF. 2023-03-07 18:26:59 +01:00
ess err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
evp Erase temporary buffer in EVP_PKEY_get_bn_param() 2023-04-04 12:06:37 +02:00
ffc Update copyright year 2023-03-14 12:49:46 +00:00
hmac Adapt other parts of the source to the changed EVP_Q_digest() and EVP_Q_mac() 2021-06-23 23:00:36 +02:00
http Update copyright year 2023-03-14 12:49:46 +00:00
idea Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
kdf
lhash Add deprecation macro for 3.1 and deprecate OPENSSL_LH_stats 2022-11-21 10:49:52 +01:00
md2 Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
md4 Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
md5 Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
mdc2 Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
modes Do not build P10-specific AES-GCM assembler on macOS 2023-03-22 14:26:54 +01:00
objects Don't call OPENSSL_init_crypto from inside a RUN_ONCE 2023-04-04 09:36:07 +02:00
ocsp Update copyright year 2023-03-14 12:49:46 +00:00
pem Update copyright year 2023-03-14 12:49:46 +00:00
perlasm Update copyright year 2022-12-01 12:47:05 +01:00
pkcs7 Update copyright year 2023-03-14 12:49:46 +00:00
pkcs12 Update copyright year 2022-10-11 13:20:27 +01:00
poly1305 Update copyright year 2022-12-01 12:47:05 +01:00
property Update copyright year 2023-03-14 12:49:46 +00:00
rand Update copyright year 2022-12-01 12:47:05 +01:00
rc2 Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
rc4 Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
rc5 Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
ripemd Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
rsa Fix the LCM computation in the RSA multiprime key check 2023-04-13 15:23:59 +02:00
seed Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
sha Update copyright year 2022-12-01 12:47:05 +01:00
siphash crypto/*: Fix various typos, repeated words, align some spelling to LDP. 2022-11-23 18:21:47 +01:00
sm2 Fix mem leak in ECDSA_sign(). 2023-03-31 15:03:16 -04:00
sm3 Update copyright year 2022-12-01 12:47:05 +01:00
sm4 Update copyright year 2023-03-14 12:49:46 +00:00
srp add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
stack Errors raised from OPENSSL_sk_set should have ERR_LIB_CRYPTO 2022-10-21 18:03:37 +02:00
store Update copyright year 2022-12-01 12:47:05 +01:00
ts Update copyright year 2022-12-01 12:47:05 +01:00
txt_db Update copyright year 2022-12-01 12:47:05 +01:00
ui Move e_os.h to include/internal 2022-11-11 10:03:45 +01:00
whrlpool Avoid duplicating symbols in legacy.a with some build options 2023-01-31 11:10:59 +11:00
x509 Fix checking return code of EVP_PKEY_get_int_param at check_curve 2023-04-21 10:20:59 +02:00
LPdir_nyi.c
LPdir_unix.c Update copyright year 2022-05-03 13:36:42 +01:00
LPdir_vms.c
LPdir_win.c
LPdir_win32.c
LPdir_wince.c
README-sparse_array.md
alphacpuid.pl
arm64cpuid.pl Update copyright year 2022-12-01 12:47:05 +01:00
arm_arch.h Apply the AES-GCM unroll8 optimization patch to Neoverse N2 2022-11-21 10:49:52 +01:00
armcap.c Fix the code used to detect aarch64 capabilities when we don't have getauxval() 2022-12-06 17:18:39 +01:00
armv4cpuid.pl
asn1_dsa.c Update copyright year 2021-04-08 13:04:41 +01:00
bsearch.c
build.info Use of sparse_array.c only in the shared libssl 2023-02-14 16:04:07 +01:00
c64xpluscpuid.pl
context.c Release the drbg in the global default context before engines 2022-11-22 18:03:22 +01:00
core_algorithm.c "Reserve" the method store when constructing methods 2022-07-20 07:29:23 +01:00
core_fetch.c "Reserve" the method store when constructing methods 2022-07-20 07:29:23 +01:00
core_namemap.c Add deprecation macro for 3.1 and deprecate OPENSSL_LH_stats 2022-11-21 10:49:52 +01:00
cpt_err.c err: add additional errors 2022-11-09 15:30:52 +01:00
cpuid.c Update copyright year 2022-12-01 12:47:05 +01:00
cryptlib.c Update copyright year 2022-12-01 12:47:05 +01:00
ctype.c tolower: refine the tolower code to avoid a memory access 2022-05-23 09:52:54 +10:00
cversion.c
der_writer.c Update copyright year 2022-07-05 10:33:12 +02:00
dllmain.c Update copyright year 2022-12-01 12:47:05 +01:00
ebcdic.c
ex_data.c Add the ability for ex_data to have a priority 2021-05-11 14:56:55 +01:00
getenv.c Update copyright year 2022-12-01 12:47:05 +01:00
ia64cpuid.S
info.c Update copyright year 2023-03-14 12:49:46 +00:00
init.c Move e_os.h to include/internal 2022-11-11 10:03:45 +01:00
initthread.c Update copyright year 2022-12-01 12:47:05 +01:00
loongarch64cpuid.pl Add LoongArch64 cpuid and OPENSSL_loongarchcap_P 2022-11-23 18:21:53 +01:00
loongarch_arch.h Add LoongArch64 cpuid and OPENSSL_loongarchcap_P 2022-11-23 18:21:53 +01:00
loongarchcap.c Add LoongArch64 cpuid and OPENSSL_loongarchcap_P 2022-11-23 18:21:53 +01:00
mem.c Move e_os.h to include/internal 2022-11-11 10:03:45 +01:00
mem_clr.c
mem_sec.c Update copyright year 2023-03-14 12:49:46 +00:00
mips_arch.h
o_dir.c Update copyright year 2022-12-01 12:47:05 +01:00
o_fopen.c Update copyright year 2022-12-01 12:47:05 +01:00
o_init.c Update copyright year 2022-12-01 12:47:05 +01:00
o_str.c Move e_os.h to include/internal 2022-11-11 10:03:45 +01:00
o_time.c Update copyright year 2021-03-11 13:27:36 +00:00
packet.c Update copyright year 2022-10-11 13:20:27 +01:00
param_build.c Update copyright year 2023-03-14 12:49:46 +00:00
param_build_set.c Update copyright year 2022-12-01 12:47:05 +01:00
params.c Update copyright year 2023-03-14 12:49:46 +00:00
params_dup.c param dup: add errors to failure returns 2022-11-09 15:31:22 +01:00
params_from_text.c Allow sign extension in OSSL_PARAM_allocate_from_text() 2021-11-24 19:21:41 +01:00
pariscid.pl
passphrase.c Update copyright year 2022-03-15 13:52:58 +00:00
ppccap.c Update copyright year 2022-12-01 12:47:05 +01:00
ppccpuid.pl Update copyright year 2022-12-01 12:47:05 +01:00
provider.c Correctly activate the provider in OSSL_PROVIDER_try_load 2021-11-15 14:22:41 +00:00
provider_child.c Update copyright year 2023-03-14 12:49:46 +00:00
provider_conf.c Update copyright year 2022-12-01 12:47:05 +01:00
provider_core.c Refactor OSSL_LIB_CTX to avoid using CRYPTO_EX_DATA 2022-11-21 10:49:51 +01:00
provider_local.h make struct provider_info_st a full type 2021-06-24 14:48:15 +01:00
provider_predefined.c make struct provider_info_st a full type 2021-06-24 14:48:15 +01:00
punycode.c Update copyright year 2022-12-01 12:47:05 +01:00
riscv32cpuid.pl Add RISC-V 32 cpuid support 2022-11-23 18:21:43 +01:00
riscv64cpuid.pl Add basic RISC-V cpuid and OPENSSL_riscvcap 2022-11-21 10:49:52 +01:00
riscvcap.c Add basic RISC-V cpuid and OPENSSL_riscvcap 2022-11-21 10:49:52 +01:00
s390x_arch.h Update copyright year 2022-05-03 13:36:42 +01:00
s390xcap.c s390: Add new machine generation 2022-11-21 10:49:51 +01:00
s390xcpuid.pl
self_test_core.c Update copyright year 2022-12-01 12:47:05 +01:00
sparccpuid.S
sparcv9cap.c Split bignum code out of the sparcv9cap.c 2021-07-15 09:33:04 +02:00
sparse_array.c Coverity 1507376: Dereference after null check 2022-07-22 14:42:44 +02:00
threads_lib.c Update copyright year 2022-12-21 11:17:29 +01:00
threads_none.c Update copyright year 2021-04-08 13:04:41 +01:00
threads_pthread.c Never use `__atomic_*` on macOS 10.7 and 10.8 2022-04-22 15:25:53 +02:00
threads_win.c VC++ 2010 x86 compilers do not have InterlockedOr64 2023-03-22 14:46:04 +01:00
trace.c Update copyright year 2023-03-14 12:49:46 +00:00
uid.c Openssl fails to compile on Debian with kfreebsd kernels 2021-09-02 10:05:51 +10:00
vms_rms.h
x86_64cpuid.pl Update copyright year 2021-04-08 13:04:41 +01:00
x86cpuid.pl