move x509 processing to rsa_import_x509()

This commit is contained in:
Steffen Jaeckel
2017-03-28 23:41:12 +02:00
parent 019a9e9850
commit ec327b3d86
4 changed files with 123 additions and 50 deletions
+1 -1
View File
@@ -543,7 +543,7 @@ for (cnt = 0; cnt < len; ) {
len3 = sizeof(tmp);
DO(base64_decode(_der_tests_cacert_root_cert, _der_tests_cacert_root_cert_size, tmp, &len3));
DO(rsa_import(tmp, len3, &key));
DO(rsa_import_x509(tmp, len3, &key));
/* free the key and return */
rsa_free(&key);