cert_write app should use subject of issuer certificate as issuer of cert

This commit is contained in:
Paul Bakker 2014-04-25 11:48:35 +02:00
parent 4ffcd2f9c3
commit fdba46885b
2 changed files with 2 additions and 1 deletions

View file

@ -409,7 +409,7 @@ int main( int argc, char *argv[] )
}
ret = x509_dn_gets( issuer_name, sizeof(issuer_name),
&issuer_crt.issuer );
&issuer_crt.subject );
if( ret < 0 )
{
polarssl_strerror( ret, buf, 1024 );