commit | 0715668eea27602d51a906bf15734bf31c9a7f24 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Wed May 30 07:33:30 2012 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Wed May 30 07:33:30 2012 +0000 |
tree | 24496e185c4ee2758281c36d497110a03067122f | |
parent | a63c9e9fba021cc7a698cb45ebfdaa019f96c010 [diff] [blame] |
diff --git a/library/x509parse.c b/library/x509parse.c index ec4fffc..25df0f7 100644 --- a/library/x509parse.c +++ b/library/x509parse.c
@@ -305,6 +305,8 @@ if( cur->next == NULL ) return( POLARSSL_ERR_X509_MALLOC_FAILED ); + memset( cur->next, 0, sizeof( x509_name ) ); + return( x509_get_name( p, end2, cur->next ) ); }