mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Switched order of storing x509_req_names to match inputed order
This commit is contained in:
parent
8eabfc1461
commit
2130796658
2 changed files with 6 additions and 11 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue