openssl/apps
Shane Lontis 4f5b222b84 Fix bug in EDDSA speed test
The pkey created in one loop was being fed into the keygen of the next loop - since it was not set to NULL after the
free. This meant that the 2 EVP_MD_CTX objects that still had ref counts to this key were getting confused.

All other tests clear the key after freeing the key if they loop (some do this by declaring/initing the pkey inside the loop).
The offending code is a recent addition to the speed app.
This was found using the -async_jobs option.
Similar code was tried for an RSA key using 111 which resulted in the same issue.

Found while trying to test issue #128867 (It is not known if this will fix that issue yet).

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12975)
2020-09-26 18:17:31 +10:00
..
demoSRP
include list: add capability to print details about the current DRBGs 2020-09-23 15:28:30 +10:00
lib load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
asn1pars.c Fix safestack issues in asn1.h 2020-09-13 11:10:40 +01:00
build.info Remove openssl provider app 2020-09-26 07:13:22 +10:00
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c apps/ca.c: Rename confusing variable 'req' to 'template_cert' in certify_cert() 2020-09-24 14:34:56 +02:00
CA.pl.in Update copyright year 2020-04-23 13:55:52 +01:00
cert.pem
ciphers.c Fix safestack issues in ssl.h 2020-09-13 11:09:45 +01:00
client.pem
cmp_mock_srv.c Fix safestack issues in cmp.h 2020-09-13 11:10:40 +01:00
cmp_mock_srv.h Add libctx and propq parameters to OSSL_CMP_{SRV_},CTX_new() and ossl_cmp_mock_srv_new() 2020-08-21 09:04:11 +02:00
cmp.c FIX strncpy warning in apps/cmp.c. 2020-09-17 14:19:09 +02:00
cms.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
crl2p7.c Fix stacks of OPENSSL_STRING, OPENSSL_CSTRING and OPENSSL_BLOCK 2020-09-13 11:10:39 +01:00
crl.c Use OSSL_STORE for load_{,pub}key() and load_cert() in apps/lib/apps.c 2020-05-15 20:20:08 +02:00
ct_log_list.cnf
dgst.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
dhparam.c Make error output of dhparams and dsaparams app more consistent 2020-06-10 11:08:21 +02:00
dsa512.pem
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
dsap.pem
dsaparam.c coverity 1464212, 1464214 & 1464215: Resource leaks 2020-06-17 15:59:58 +10:00
ec.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
ecparam.c Move EC_METHOD to internal-only 2020-06-02 11:17:24 +03:00
enc.c Specific the engine pointer 2020-07-22 10:37:49 +03:00
engine.c Fix stacks of OPENSSL_STRING, OPENSSL_CSTRING and OPENSSL_BLOCK 2020-09-13 11:10:39 +01:00
errstr.c
fipsinstall.c Add option to fipsinstall to disable fips security checks at run time. 2020-09-18 14:20:50 +01:00
gendsa.c Update copyright year 2020-04-23 13:55:52 +01:00
genpkey.c Add error message to genpkey app for the '-genparam' option 2020-09-18 14:20:38 +01:00
genrsa.c en EVP_PKEY_CTX_set_rsa_keygen_pubexp() BIGNUM management 2020-09-26 07:31:59 +10:00
info.c
insta.ca.crt openssl-cmp.pod.in: Update and extend example using Insta Demo CA 2020-08-04 12:11:46 +02:00
kdf.c Fix stacks of OPENSSL_STRING, OPENSSL_CSTRING and OPENSSL_BLOCK 2020-09-13 11:10:39 +01:00
list.c Update openssl list to support new provider objects. 2020-09-26 07:13:22 +10:00
mac.c Fix stacks of OPENSSL_STRING, OPENSSL_CSTRING and OPENSSL_BLOCK 2020-09-13 11:10:39 +01:00
nseq.c Fix safestack issues in x509.h 2020-09-13 11:09:45 +01:00
ocsp.c apps/ocsp: Return non zero exit code with invalid certID 2020-09-21 10:28:10 +02:00
openssl-vms.cnf Add FIPS related configuration data to the default openssl application configuration file 2020-07-15 23:20:32 +02:00
openssl.c apps_ui.c: Improve error handling and return value of setup_ui_method() 2020-09-10 22:01:07 +02:00
openssl.cnf Add FIPS related configuration data to the default openssl application configuration file 2020-07-15 23:20:32 +02:00
passwd.c Update copyright year 2020-04-23 13:55:52 +01:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c Fix safestack issues in x509.h 2020-09-13 11:09:45 +01:00
pkcs8.c Update copyright year 2020-04-23 13:55:52 +01:00
pkcs12.c Fix safestack issues in pkcs12.h 2020-09-13 11:11:21 +01:00
pkey.c Use OSSL_STORE for load_{,pub}key() and load_cert() in apps/lib/apps.c 2020-05-15 20:20:08 +02:00
pkeyparam.c Update copyright year 2020-04-23 13:55:52 +01:00
pkeyutl.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
prime.c Update copyright year 2020-04-23 13:55:52 +01:00
privkey.pem
progs.pl Update copyright year 2020-04-23 13:55:52 +01:00
rand.c Update copyright year 2020-04-23 13:55:52 +01:00
rehash.c Fix stacks of OPENSSL_STRING, OPENSSL_CSTRING and OPENSSL_BLOCK 2020-09-13 11:10:39 +01:00
req.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
req.pem
rsa8192.pem Fix rsa8192.pem 2020-05-13 06:28:36 +02:00
rsa.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
rsautl.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
s_server.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
s_time.c s_time: check return values better 2020-09-09 18:01:05 +10:00
server2.pem
server.pem
server.srl
sess_id.c
smime.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00
speed.c Fix bug in EDDSA speed test 2020-09-26 18:17:31 +10:00
spkac.c Use OSSL_STORE for load_{,pub}key() and load_cert() in apps/lib/apps.c 2020-05-15 20:20:08 +02:00
srp.c Update copyright year 2020-04-23 13:55:52 +01:00
storeutl.c STORE: Distinguish public keys from private keys 2020-08-20 12:37:35 +02:00
testCA.pem
testdsa.h
testrsa.h
timeouts.h
ts.c Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
tsget.in
verify.c Fix stacks of OPENSSL_STRING, OPENSSL_CSTRING and OPENSSL_BLOCK 2020-09-13 11:10:39 +01:00
version.c NonStop port updates for 3.0.0. 2020-09-12 20:32:11 +02:00
vms_decc_init.c
x509.c load_key_certs_crls(): Restore output of fatal errors 2020-09-24 14:34:56 +02:00