Parent Directory | Revision Log
- polarssl renamed to mbedtls
1 | diff --git a/library/asn1parse.c b/library/asn1parse.c |
2 | index a3a2b56..e2117bf 100644 |
3 | --- a/library/asn1parse.c |
4 | +++ b/library/asn1parse.c |
5 | @@ -278,6 +278,8 @@ int asn1_get_sequence_of( unsigned char **p, |
6 | if( cur->next == NULL ) |
7 | return( POLARSSL_ERR_ASN1_MALLOC_FAILED ); |
8 | |
9 | + memset( cur->next, 0, sizeof( asn1_sequence ) ); |
10 | + |
11 | cur = cur->next; |
12 | } |
13 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |