mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Added test for PKCS8 unencrypted PEM format.
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@212 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
parent
96b65cdb96
commit
f22e36ab56
@ -225,7 +225,6 @@ config CONFIG_SSL_USE_PKCS12
|
||||
bool "Use PKCS8/PKCS12"
|
||||
default n if !CONFIG_SSL_FULL_MODE
|
||||
default y if CONFIG_SSL_FULL_MODE
|
||||
# depends on !CONFIG_SSL_SERVER_ONLY && !CONFIG_SSL_SKELETON_MODE
|
||||
help
|
||||
PKCS#12 certificates combine private keys and certificates together in
|
||||
one file.
|
||||
|
@ -1233,13 +1233,21 @@ int SSL_server_tests(void)
|
||||
goto cleanup;
|
||||
|
||||
/*
|
||||
* PKCS#8 key (unencrypted)
|
||||
* PKCS#8 key (unencrypted DER format)
|
||||
*/
|
||||
if ((ret = SSL_server_test("pkcs#8 unencrypted", "-cipher RC4-SHA",
|
||||
if ((ret = SSL_server_test("pkcs#8 DER unencrypted", "-cipher RC4-SHA",
|
||||
DEFAULT_CERT, NULL, "../ssl/test/axTLS.unencrypted.p8",
|
||||
NULL, NULL, DEFAULT_SVR_OPTION)))
|
||||
goto cleanup;
|
||||
|
||||
/*
|
||||
* PKCS#8 key (unencrypted PEM format)
|
||||
*/
|
||||
if ((ret = SSL_server_test("pkcs#8 PEM unencrypted", "-cipher RC4-SHA",
|
||||
DEFAULT_CERT, NULL, "../ssl/test/axTLS.unencrypted_pem.p8",
|
||||
NULL, NULL, DEFAULT_SVR_OPTION)))
|
||||
goto cleanup;
|
||||
|
||||
/*
|
||||
* PKCS#12 key/certificate
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user