Fixed that selfsign copies issuer_name to subject_name

This commit is contained in:
Paul Bakker 2013-10-28 22:28:09 +01:00
parent 50dc850c52
commit 93c6aa4014
2 changed files with 2 additions and 1 deletions

View file

@ -15,6 +15,7 @@ Bugfix
* Prevent possible alignment warnings on casting from char * to 'aligned *'
* Misc fixes and additions to dependency checks
* Const correctness
* cert_write with selfsign should use issuer_name as subject_name
= PolarSSL 1.3.1 released on 2013-10-15
Features

View file

@ -512,7 +512,7 @@ int main( int argc, char *argv[] )
if( opt.selfsign )
{
opt.issuer_name = opt.subject_name;
opt.subject_name = opt.issuer_name;
subject_key = issuer_key;
}