1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +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:
cameronrich
2011-06-24 13:11:51 +00:00
parent 96b65cdb96
commit f22e36ab56
2 changed files with 10 additions and 3 deletions

View 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
*/