commit | fdba46885b0cc849d0ce061878676f9a1fbe7efd | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Fri Apr 25 11:48:35 2014 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Fri Apr 25 11:48:35 2014 +0200 |
tree | 264e8aa4fd86ed346751b43dc33798bff47b25a2 | |
parent | 4ffcd2f9c3bb2b42d7bd7c683ecf3f93d6f8c7dc [diff] [blame] |
cert_write app should use subject of issuer certificate as issuer of cert
diff --git a/programs/x509/cert_write.c b/programs/x509/cert_write.c index b4fc450..31b5205 100644 --- a/programs/x509/cert_write.c +++ b/programs/x509/cert_write.c
@@ -409,7 +409,7 @@ } ret = x509_dn_gets( issuer_name, sizeof(issuer_name), - &issuer_crt.issuer ); + &issuer_crt.subject ); if( ret < 0 ) { polarssl_strerror( ret, buf, 1024 );