1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-29 05:21:37 +03:00

added md2

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@125 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2007-09-16 11:28:22 +00:00
parent 7cd4ea1b95
commit 7c7e89b540
6 changed files with 176 additions and 9 deletions

View File

@ -604,11 +604,9 @@ static int cert_tests(void)
ssl_ctx_free(ssl_ctx);
free(buf);
/* Verisign use MD2 which is not supported */
ssl_ctx = ssl_ctx_new(0, 0);
len = get_file("../ssl/test/verisign.x509_ca", &buf);
if ((res = add_cert_auth(ssl_ctx, buf, len)) !=
X509_VFY_ERROR_UNSUPPORTED_DIGEST)
if ((res = add_cert_auth(ssl_ctx, buf, len)) <0)
{
printf("Cert #7\n");
ssl_display_error(res);