commit | e5b0fc18472b9780a0563b1a5550f039264e88da | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Nov 12 22:27:42 2014 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Nov 13 12:42:12 2014 +0100 |
tree | 930fd8434628da3ba38f1e38df2b63785afb2ae4 | |
parent | 5924f9f81076bda203fd7075342d40c26cf180d3 [diff] [blame] |
Make malloc-init script a bit happier
diff --git a/library/x509_crt.c b/library/x509_crt.c index 6193ecd..2d72f6a 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c
@@ -819,8 +819,8 @@ return( POLARSSL_ERR_X509_MALLOC_FAILED ); prev = crt; + x509_crt_init( crt->next ); crt = crt->next; - x509_crt_init( crt ); } if( ( ret = x509_crt_parse_der_core( crt, buf, buflen ) ) != 0 )