1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Switched order of storing x509_req_names to match inputed order

This commit is contained in:
Paul Bakker
2013-08-25 10:33:27 +02:00
parent 8eabfc1461
commit 2130796658
2 changed files with 6 additions and 11 deletions

View File

@@ -23,7 +23,7 @@ void x509_cert_req_check( char *key_file, int md_type,
int ret;
size_t olen = 2000;
FILE *f;
char *subject_name = "CN=PolarSSL Server 1,O=PolarSSL,C=NL";
char *subject_name = "C=NL,O=PolarSSL,CN=PolarSSL Server 1";
memset( &rsa, 0, sizeof(rsa_context) );
ret = x509parse_keyfile_rsa( &rsa, key_file, NULL );