- 02 Nov, 2018 2 commits
-
-
Hanno Becker authored
library/certs.c provides some hardcoded certificates that are used e.g. by the test applications ssl_server2, ssl_client2 in case no certificates are provided on the command line. The certificates used are from the tests/data_files folder and have been updated in the latest commits. This commit updates their copies in certs.c. It also adds comments indicating the files from which the data is taken, in order to ease update in the future.
-
Hanno Becker authored
Previous commits have added or modified build instructions for server1*, server2*, server5*, test-ca*, cli-rsa* in the Makefile tests/data_files/Makefile, or the apps they invoke have been changed. This commit regenerates those files to make sure they are in match with the build instructions.
-
- 27 Jul, 2017 2 commits
-
-
Hanno Becker authored
The previous commit bd5ceee484f201b90a384636ba12de86bd330cba removed the definition of the global constants - mbedtls_test_ca_crt_rsa_len, - mbedtls_test_cli_crt_rsa_len, - mbedtls_test_ca_crt_rsa, and - mbedtls_test_cli_crt_rsa. This commit restores these to maintain ABI compatibility. Further, it was noticed that without SHA256_C being enabled the previous code failed to compile because because the SHA1 resp. SHA256 certificates were only defined when the respective SHAXXX_C options were set, but the emission of the global variable mbedtls_test_ca_crt was unconditionally defined through the SHA256 certificate. Previously, the RSA SHA1 certificate was unconditionally defined and used for that. As a remedy, this commit makes sure some RSA certificate is defined and exported through the following rule: 1. If SHA256_C is active, define an RSA SHA256 certificate and export it as mbedtls_test_ca_crt. Also, define SHA1 certificates only if SHA1_C is set. 2. If SHA256_C is not set, always define SHA1 certificate and export it as mbedtls_test_ca_crt.
-
Hanno Becker authored
The previous commit bd5ceee484f201b90a384636ba12de86bd330cba removed the definition of the global constants - mbedtls_test_ca_crt_rsa_len, - mbedtls_test_cli_crt_rsa_len, - mbedtls_test_ca_crt_rsa, and - mbedtls_test_cli_crt_rsa. This commit restores these to maintain ABI compatibility. Further, it was noticed that without SHA256_C being enabled the previous code failed to compile because because the SHA1 resp. SHA256 certificates were only defined when the respective SHAXXX_C options were set, but the emission of the global variable mbedtls_test_ca_crt was unconditionally defined through the SHA256 certificate. Previously, the RSA SHA1 certificate was unconditionally defined and used for that. As a remedy, this commit makes sure some RSA certificate is defined and exported through the following rule: 1. If SHA256_C is active, define an RSA SHA256 certificate and export it as mbedtls_test_ca_crt. Also, define SHA1 certificates only if SHA1_C is set. 2. If SHA256_C is not set, always define SHA1 certificate and export it as mbedtls_test_ca_crt.
-
- 20 Jul, 2017 1 commit
-
-
Hanno Becker authored
The previous commit bd5ceee484f201b90a384636ba12de86bd330cba removed the definition of the global constants - mbedtls_test_ca_crt_rsa_len, - mbedtls_test_cli_crt_rsa_len, - mbedtls_test_ca_crt_rsa, and - mbedtls_test_cli_crt_rsa. This commit restores these to maintain ABI compatibility. Further, it was noticed that without SHA256_C being enabled the previous code failed to compile because because the SHA1 resp. SHA256 certificates were only defined when the respective SHAXXX_C options were set, but the emission of the global variable mbedtls_test_ca_crt was unconditionally defined through the SHA256 certificate. Previously, the RSA SHA1 certificate was unconditionally defined and used for that. As a remedy, this commit makes sure some RSA certificate is defined and exported through the following rule: 1. If SHA256_C is active, define an RSA SHA256 certificate and export it as mbedtls_test_ca_crt. Also, define SHA1 certificates only if SHA1_C is set. 2. If SHA256_C is not set, always define SHA1 certificate and export it as mbedtls_test_ca_crt.
-
- 06 Jun, 2017 1 commit
-
-
Gilles Peskine authored
-
- 04 Sep, 2015 1 commit
-
-
Manuel Pégourié-Gonnard authored
-
- 28 Jul, 2015 1 commit
-
-
Manuel Pégourié-Gonnard authored
-
- 25 Jun, 2015 1 commit
-
-
Manuel Pégourié-Gonnard authored
certs.c belongs to the X.509 library, while DHM belongs to the crypto lib.
-
- 12 May, 2015 1 commit
-
-
Manuel Pégourié-Gonnard authored
Revealed by the recent PEM changes
-
- 08 Apr, 2015 1 commit
-
-
Manuel Pégourié-Gonnard authored
A simple execution of tmp/invoke-rename.pl
-
- 27 Mar, 2015 4 commits
-
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
- 10 Mar, 2015 1 commit
-
-
Manuel Pégourié-Gonnard authored
-
- 06 Mar, 2015 1 commit
-
-
Manuel Pégourié-Gonnard authored
-
- 28 Jan, 2015 1 commit
-
-
Manuel Pégourié-Gonnard authored
-
- 23 Jan, 2015 4 commits
-
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
- 22 Jan, 2015 1 commit
-
-
Manuel Pégourié-Gonnard authored
-
- 01 May, 2014 1 commit
-
-
Paul Bakker authored
-
- 30 Apr, 2014 1 commit
-
-
Manuel Pégourié-Gonnard authored
-
- 14 Mar, 2014 1 commit
-
-
Manuel Pégourié-Gonnard authored
-
- 25 Sep, 2013 2 commits
-
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
- 24 Sep, 2013 2 commits
-
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
- 27 Aug, 2013 1 commit
-
-
Manuel Pégourié-Gonnard authored
-
- 08 Mar, 2011 1 commit
-
-
Paul Bakker authored
-
- 02 Mar, 2011 1 commit
-
-
Paul Bakker authored
-
- 20 Feb, 2011 1 commit
-
-
Paul Bakker authored
-
- 06 Jan, 2011 1 commit
-
-
Paul Bakker authored
-
- 18 Jul, 2010 2 commits
-
-
Paul Bakker authored
-
Paul Bakker authored
-
- 24 Mar, 2010 1 commit
-
-
Paul Bakker authored
-
- 21 Mar, 2010 2 commits
-
-
Paul Bakker authored
-
Paul Bakker authored
-