Revision e637d47c9122d74d4f3a40a8cbe867de29468ba3 authored by Richard Levitte on 19 May 2020, 10:52:07 UTC, committed by Richard Levitte on 20 May 2020, 19:10:10 UTC
In the FIPS module, the code as written generate an unconditional
error.

Fixes #11865

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11869)
1 parent a30027b
History
File Mode Size
certs
ct
d2i-tests
ocsp-tests
ossl_shim
recipes
smime-certs
ssl-tests
testutil
CAss.cnf -rw-r--r-- 2.0 KB
CAtsa.cnf -rw-r--r-- 4.9 KB
P1ss.cnf -rw-r--r-- 871 bytes
P2ss.cnf -rw-r--r-- 973 bytes
README -rw-r--r-- 4.7 KB
README.external -rw-r--r-- 4.6 KB
README.ssltest.md -rw-r--r-- 10.3 KB
Uss.cnf -rw-r--r-- 890 bytes
aborttest.c -rw-r--r-- 467 bytes
aesgcmtest.c -rw-r--r-- 4.9 KB
afalgtest.c -rw-r--r-- 4.3 KB
asn1_decode_test.c -rw-r--r-- 4.4 KB
asn1_dsa_internal_test.c -rw-r--r-- 5.7 KB
asn1_encode_test.c -rw-r--r-- 28.9 KB
asn1_internal_test.c -rw-r--r-- 3.1 KB
asn1_string_table_test.c -rw-r--r-- 1.9 KB
asn1_time_test.c -rw-r--r-- 17.7 KB
asynciotest.c -rw-r--r-- 12.3 KB
asynctest.c -rw-r--r-- 9.8 KB
bad_dtls_test.c -rw-r--r-- 19.9 KB
bftest.c -rw-r--r-- 15.9 KB
bio_callback_test.c -rw-r--r-- 6.4 KB
bio_enc_test.c -rw-r--r-- 6.7 KB
bio_memleak_test.c -rw-r--r-- 5.5 KB
bio_prefix_text.c -rw-r--r-- 7.4 KB
bioprinttest.c -rw-r--r-- 11.9 KB
bn_internal_test.c -rw-r--r-- 2.5 KB
bn_rand_range.h -rw-r--r-- 2.0 KB
bntest.c -rw-r--r-- 89.5 KB
bntests.pl -rwxr-xr-x 4.5 KB
build.info -rw-r--r-- 29.7 KB
casttest.c -rw-r--r-- 3.2 KB
chacha_internal_test.c -rw-r--r-- 8.0 KB
cipher_overhead_test.c -rw-r--r-- 1.0 KB
cipherbytes_test.c -rw-r--r-- 4.4 KB
cipherlist_test.c -rw-r--r-- 7.1 KB
ciphername_test.c -rw-r--r-- 20.6 KB
clienthellotest.c -rw-r--r-- 8.2 KB
cmp_asn_test.c -rw-r--r-- 3.7 KB
cmp_client_test.c -rw-r--r-- 13.1 KB
cmp_ctx_test.c -rw-r--r-- 30.1 KB
cmp_hdr_test.c -rw-r--r-- 13.5 KB
cmp_msg_test.c -rw-r--r-- 17.6 KB
cmp_protect_test.c -rw-r--r-- 19.2 KB
cmp_server_test.c -rw-r--r-- 5.0 KB
cmp_status_test.c -rw-r--r-- 3.2 KB
cmp_testlib.c -rw-r--r-- 3.4 KB
cmp_testlib.h -rw-r--r-- 1.2 KB
cmp_vfy_test.c -rw-r--r-- 22.2 KB
cms-examples.pl -rw-r--r-- 8.7 KB
cmsapitest.c -rw-r--r-- 2.7 KB
conf_include_test.c -rw-r--r-- 5.7 KB
confdump.c -rw-r--r-- 1.9 KB
constant_time_test.c -rw-r--r-- 12.3 KB
context_internal_test.c -rw-r--r-- 1.7 KB
crltest.c -rw-r--r-- 14.7 KB
ct_test.c -rw-r--r-- 16.1 KB
ctype_internal_test.c -rw-r--r-- 2.7 KB
curve448_internal_test.c -rw-r--r-- 35.5 KB
d2i_test.c -rw-r--r-- 4.1 KB
danetest.c -rw-r--r-- 11.2 KB
danetest.in -rw-r--r-- 87.6 KB
danetest.pem -rw-r--r-- 652 bytes
default-and-fips.cnf -rw-r--r-- 181 bytes
default-and-legacy.cnf -rw-r--r-- 188 bytes
default.cnf -rw-r--r-- 139 bytes
destest.c -rw-r--r-- 25.6 KB
dhtest.c -rw-r--r-- 30.3 KB
drbg_cavs_data.h -rw-r--r-- 2.0 KB
drbg_cavs_data_ctr.c -rw-r--r-- 339.3 KB
drbg_cavs_data_hash.c -rw-r--r-- 380.1 KB
drbg_cavs_data_hmac.c -rw-r--r-- 13.5 KB
drbg_cavs_test.c -rw-r--r-- 8.4 KB
drbg_extra_test.c -rw-r--r-- 2.4 KB
drbg_extra_test.h -rw-r--r-- 10.9 KB
drbgtest.c -rw-r--r-- 44.6 KB
drbgtest.h -rw-r--r-- 68.8 KB
dsa_no_digest_size_test.c -rw-r--r-- 8.5 KB
dsatest.c -rw-r--r-- 11.8 KB
dtls_mtu_test.c -rw-r--r-- 6.0 KB
dtlstest.c -rw-r--r-- 11.0 KB
dtlsv1listentest.c -rw-r--r-- 12.3 KB
ec_internal_test.c -rw-r--r-- 8.9 KB
ecdsatest.c -rw-r--r-- 13.3 KB
ecdsatest.h -rw-r--r-- 673.6 KB
ecstresstest.c -rw-r--r-- 4.1 KB
ectest.c -rw-r--r-- 96.7 KB
enginetest.c -rw-r--r-- 10.7 KB
errtest.c -rw-r--r-- 2.2 KB
evp_extra_test.c -rw-r--r-- 61.1 KB
evp_fetch_prov_test.c -rw-r--r-- 7.9 KB
evp_kdf_test.c -rw-r--r-- 31.4 KB
evp_pkey_dparams_test.c -rw-r--r-- 6.7 KB
evp_pkey_provided_test.c -rw-r--r-- 49.1 KB
evp_test.c -rw-r--r-- 88.8 KB
evp_test.h -rw-r--r-- 416 bytes
exdatatest.c -rw-r--r-- 7.9 KB
exptest.c -rw-r--r-- 5.2 KB
fatalerrtest.c -rw-r--r-- 2.9 KB
ffc_internal_test.c -rw-r--r-- 25.8 KB
fips.cnf -rw-r--r-- 129 bytes
generate_buildtest.pl -rw-r--r-- 796 bytes
generate_ssl_tests.pl -rw-r--r-- 4.6 KB
gmdifftest.c -rw-r--r-- 1.8 KB
gosttest.c -rw-r--r-- 3.8 KB
handshake_helper.c -rw-r--r-- 59.7 KB
handshake_helper.h -rw-r--r-- 2.9 KB
hmactest.c -rw-r--r-- 7.2 KB
http_test.c -rw-r--r-- 5.4 KB
ideatest.c -rw-r--r-- 3.9 KB
igetest.c -rw-r--r-- 16.4 KB
insta.priv.pem -rwxr-xr-x 1.6 KB
insta_ca.cert.pem -rwxr-xr-x 1.3 KB
keymgmt_internal_test.c -rw-r--r-- 8.5 KB
legacy.cnf -rw-r--r-- 136 bytes
lhash_test.c -rw-r--r-- 5.5 KB
mdc2_internal_test.c -rw-r--r-- 1.7 KB
mdc2test.c -rw-r--r-- 2.6 KB
memleaktest.c -rw-r--r-- 1.5 KB
modes_internal_test.c -rw-r--r-- 29.1 KB
namemap_internal_test.c -rw-r--r-- 4.3 KB
ocspapitest.c -rw-r--r-- 6.1 KB
ossl_test_endian.h -rw-r--r-- 648 bytes
p_test.c -rw-r--r-- 4.6 KB
packettest.c -rw-r--r-- 15.2 KB
param_build_test.c -rw-r--r-- 9.4 KB
params_api_test.c -rw-r--r-- 21.5 KB
params_conversion_test.c -rw-r--r-- 10.9 KB
params_test.c -rw-r--r-- 17.8 KB
pbelutest.c -rw-r--r-- 1.4 KB
pemtest.c -rw-r--r-- 2.7 KB
pkcs7-1.pem -rw-r--r-- 851 bytes
pkcs7.pem -rw-r--r-- 3.7 KB
pkey_meth_kdf_test.c -rw-r--r-- 5.5 KB
pkey_meth_test.c -rw-r--r-- 2.2 KB
pkits-test.pl -rw-r--r-- 31.2 KB
poly1305_internal_test.c -rw-r--r-- 56.2 KB
property_test.c -rw-r--r-- 13.9 KB
provider_internal_test.c -rw-r--r-- 2.6 KB
provider_internal_test.cnf.in -rw-r--r-- 264 bytes
provider_test.c -rw-r--r-- 1.8 KB
rc2test.c -rw-r--r-- 2.1 KB
rc4test.c -rw-r--r-- 4.1 KB
rc5test.c -rw-r--r-- 9.1 KB
rdrand_sanitytest.c -rw-r--r-- 3.3 KB
recordlentest.c -rw-r--r-- 5.3 KB
rsa_complex.c -rw-r--r-- 790 bytes
rsa_mp_test.c -rw-r--r-- 11.3 KB
rsa_sp800_56b_test.c -rw-r--r-- 25.6 KB
rsa_test.c -rw-r--r-- 14.8 KB
run_tests.pl -rw-r--r-- 7.7 KB
sanitytest.c -rw-r--r-- 3.0 KB
secmemtest.c -rw-r--r-- 5.9 KB
serverinfo.pem -rw-r--r-- 740 bytes
serverinfo2.pem -rw-r--r-- 412 bytes
servername_test.c -rw-r--r-- 7.0 KB
session.pem -rw-r--r-- 1.9 KB
shibboleth.pfx -rw-r--r-- 2.5 KB
shlibloadtest.c -rw-r--r-- 9.9 KB
siphash_internal_test.c -rw-r--r-- 17.0 KB
sm2_internal_test.c -rw-r--r-- 11.4 KB
sm4_internal_test.c -rw-r--r-- 2.3 KB
smcont.txt -rw-r--r-- 83 bytes
sparse_array_test.c -rw-r--r-- 5.6 KB
srptest.c -rw-r--r-- 8.0 KB
ssl_cert_table_internal_test.c -rw-r--r-- 2.2 KB
ssl_ctx_test.c -rw-r--r-- 2.3 KB
ssl_test.c -rw-r--r-- 19.4 KB
ssl_test.tmpl -rw-r--r-- 4.3 KB
ssl_test_ctx.c -rw-r--r-- 28.7 KB
ssl_test_ctx.h -rw-r--r-- 8.5 KB
ssl_test_ctx_test.c -rw-r--r-- 9.1 KB
ssl_test_ctx_test.cnf -rw-r--r-- 2.0 KB
sslapitest.c -rw-r--r-- 264.3 KB
sslbuffertest.c -rw-r--r-- 5.3 KB
sslcorrupttest.c -rw-r--r-- 7.2 KB
ssltest_old.c -rw-r--r-- 102.0 KB
ssltestlib.c -rw-r--r-- 30.6 KB
ssltestlib.h -rw-r--r-- 2.2 KB
stack_test.c -rw-r--r-- 9.2 KB
sysdefault.cnf -rw-r--r-- 241 bytes
sysdefaulttest.c -rw-r--r-- 1.1 KB
test.cnf -rw-r--r-- 2.3 KB
test_test.c -rw-r--r-- 18.0 KB
testcrl.pem -rw-r--r-- 938 bytes
testdsa.pem -rw-r--r-- 672 bytes
testdsapub.pem -rw-r--r-- 654 bytes
testec-p256.pem -rw-r--r-- 227 bytes
testecpub-p256.pem -rw-r--r-- 178 bytes
tested25519.pem -rw-r--r-- 119 bytes
tested25519pub.pem -rw-r--r-- 113 bytes
tested448.pem -rw-r--r-- 156 bytes
tested448pub.pem -rw-r--r-- 146 bytes
testp7.pem -rw-r--r-- 2.8 KB
testreq2.pem -rw-r--r-- 371 bytes
testrsa.pem -rw-r--r-- 497 bytes
testrsapub.pem -rw-r--r-- 182 bytes
testsid.pem -rw-r--r-- 2.3 KB
testutil.h -rw-r--r-- 22.6 KB
testx509.pem -rw-r--r-- 530 bytes
threadstest.c -rw-r--r-- 3.9 KB
time_offset_test.c -rw-r--r-- 3.2 KB
tls13ccstest.c -rw-r--r-- 15.2 KB
tls13encryptiontest.c -rw-r--r-- 13.8 KB
tls13secretstest.c -rw-r--r-- 11.5 KB
uitest.c -rw-r--r-- 2.2 KB
v3-cert1.pem -rw-r--r-- 944 bytes
v3-cert2.pem -rw-r--r-- 940 bytes
v3ext.c -rw-r--r-- 1.2 KB
v3nametest.c -rw-r--r-- 11.4 KB
verify_extra_test.c -rw-r--r-- 6.4 KB
versions.c -rw-r--r-- 674 bytes
wpackettest.c -rw-r--r-- 17.8 KB
x509_check_cert_pkey_test.c -rw-r--r-- 3.6 KB
x509_dup_cert_test.c -rw-r--r-- 1.4 KB
x509_internal_test.c -rw-r--r-- 1.3 KB
x509_time_test.c -rw-r--r-- 15.6 KB
x509aux.c -rw-r--r-- 5.1 KB

README

back to top