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

@ -10,6 +10,7 @@ Bugfix
(found by Matthew Page)
* Typos in platform.c and pkcs11.c (found by Daniel Phillips and Steffan
Karger)
* cert_write app should use subject of issuer certificate as issuer of cert
= PolarSSL 1.3.6 released on 2014-04-11

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 );