openssl/apps
Shane Lontis 6725682d77 Add X509 related libctx changes.
- In order to not add many X509_XXXX_with_libctx() functions the libctx and propq may be stored in the X509 object via a call to X509_new_with_libctx().
- Loading via PEM_read_bio_X509() or d2i_X509() should pass in a created cert using X509_new_with_libctx().
- Renamed some XXXX_ex() to XXX_with_libctx() for X509 API's.
- Removed the extra parameters in check_purpose..
- X509_digest() has been modified so that it expects a const EVP_MD object() and then internally it does the fetch when it needs to (via ASN1_item_digest_with_libctx()).
- Added API's that set the libctx when they load such as X509_STORE_new_with_libctx() so that the cert chains can be verified.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12153)
2020-07-24 22:53:27 +10:00
..
demoSRP Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
include Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
lib Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
asn1pars.c Update copyright year 2020-05-15 14:09:49 +01:00
build.info Build: make apps/progs.c depend on configdata.pm 2020-05-15 20:06:08 +02:00
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
CA.pl.in Update copyright year 2020-04-23 13:55:52 +01:00
cert.pem
ciphers.c In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02:00
client.pem
cmp_mock_srv.c Remove extra newline from CMP mock server error and add TODO on using request template 2020-06-13 15:13:21 +02:00
cmp_mock_srv.h Chunk 8 of CMP contribution to OpenSSL: CMP server and cmp_mock_srv.c for testing 2020-03-10 16:09:44 +01:00
cmp.c Fix UI method setup, which should be independent of (deprecated) engine use 2020-07-22 07:27:42 +02:00
cms.c CMS print should support string conversion 2020-06-24 09:56:50 +03:00
crl2p7.c In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02: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 Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
dgst.c Use OSSL_STORE for load_{,pub}key() and load_cert() in apps/lib/apps.c 2020-05-15 20:20:08 +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 Use OSSL_STORE for load_{,pub}key() and load_cert() in apps/lib/apps.c 2020-05-15 20:20:08 +02:00
dsap.pem
dsaparam.c coverity 1464212, 1464214 & 1464215: Resource leaks 2020-06-17 15:59:58 +10:00
ec.c Use OSSL_STORE for load_{,pub}key() and load_cert() in apps/lib/apps.c 2020-05-15 20:20:08 +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 apps: deprecate engines 2020-07-16 09:12:27 +02:00
errstr.c Document command parameters. 2019-11-20 09:49:52 +01:00
fipsinstall.c Add ERR_raise() errors to fips OSSL_provider_init and self tests. 2020-07-21 16:30:02 +10:00
gendsa.c Update copyright year 2020-04-23 13:55:52 +01:00
genpkey.c EVP: deprecate the EVP_X_meth_ functions. 2020-07-22 20:19:01 +10:00
genrsa.c Update RSA keygen to use sp800-56b by default 2020-06-10 08:59:56 +10:00
info.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
kdf.c Revert "kdf: make function naming consistent." 2020-07-16 14:21:07 +02:00
list.c EVP: deprecate the EVP_X_meth_ functions. 2020-07-22 20:19:01 +10:00
mac.c Revert "The EVP_MAC functions have been renamed for consistency. The EVP_MAC_CTX_*" 2020-07-16 14:21:07 +02:00
nseq.c In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02:00
ocsp.c APPS: Properly pass -no-CAstore 2020-06-23 12:25:48 +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 Test RSA oaep in fips mode 2020-07-23 17:40:40 +10: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 In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02:00
pkcs8.c Update copyright year 2020-04-23 13:55:52 +01:00
pkcs12.c In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02: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 Test RSA oaep in fips mode 2020-07-23 17:40:40 +10: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
provider.c Rename <openssl/core_numbers.h> -> <openssl/core_dispatch.h> 2020-06-24 22:01:22 +02:00
rand.c Update copyright year 2020-04-23 13:55:52 +01:00
rehash.c In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02:00
req.c Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
req.pem
rsa8192.pem Fix rsa8192.pem 2020-05-13 06:28:36 +02:00
rsa.c Fix nits detected by make cmd-nits 2020-06-14 02:15:51 +03:00
rsautl.c Use OSSL_STORE for load_{,pub}key() and load_cert() in apps/lib/apps.c 2020-05-15 20:20:08 +02:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c apps: deprecate engines 2020-07-16 09:12:27 +02:00
s_server.c Add SSL_get[01]_peer_certificate() 2020-07-16 09:08:21 +02:00
s_time.c Update copyright year 2020-04-23 13:55:52 +01:00
server2.pem
server.pem Replace apps/server.pem with certificate with a sha256 signature. 2020-01-25 14:10:40 +01:00
server.srl
sess_id.c Add "sections" to -help output 2019-11-08 06:08:30 +10:00
smime.c Use OSSL_STORE for load_{,pub}key() and load_cert() in apps/lib/apps.c 2020-05-15 20:20:08 +02:00
speed.c APPS: Use a second EVP_MD_CTX for EdDSA verify 2020-06-11 17:28:10 +03: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 Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
testCA.pem
testdsa.h Following the license change, modify the boilerplates in apps/ 2018-12-06 14:15:27 +01:00
testrsa.h Following the license change, modify the boilerplates in apps/ 2018-12-06 14:15:27 +01:00
timeouts.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
ts.c Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00
tsget.in apps/tsget.in: use the full version in the user agent string 2018-12-10 20:09:17 +01:00
verify.c Improve documentation, layout, and code comments regarding self-issued certs etc. 2020-07-01 11:14:54 +02:00
version.c Update copyright year 2020-04-23 13:55:52 +01:00
vms_decc_init.c VMS: move copy_argc to its own module and make it an aux source 2019-03-05 08:51:09 +01:00
x509.c Add X509 related libctx changes. 2020-07-24 22:53:27 +10:00