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) (found by Matthew Page)
* Typos in platform.c and pkcs11.c (found by Daniel Phillips and Steffan * Typos in platform.c and pkcs11.c (found by Daniel Phillips and Steffan
Karger) Karger)
* cert_write app should use subject of issuer certificate as issuer of cert
= PolarSSL 1.3.6 released on 2014-04-11 = 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), ret = x509_dn_gets( issuer_name, sizeof(issuer_name),
&issuer_crt.issuer ); &issuer_crt.subject );
if( ret < 0 ) if( ret < 0 )
{ {
polarssl_strerror( ret, buf, 1024 ); polarssl_strerror( ret, buf, 1024 );