commit | c531b4af3c711b668f469b7cef4e683c54000822 | [log] [tgz] |
---|---|---|
author | Mansour Moufid <mansourmoufid@gmail.com> | Sun Feb 15 17:35:38 2015 -0500 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon Feb 16 10:43:52 2015 +0000 |
tree | 9d5a147a32367b74785a50ae5fa317424c9e7344 | |
parent | fd9afb29d3c5969179319af171f8d6181f10eeb0 [diff] [blame] |
Apply the semantic patch rm-malloc-cast.cocci. for dir in library programs; do spatch --sp-file scripts/rm-malloc-cast.cocci --dir $dir \ --in-place; done
diff --git a/library/x509_crl.c b/library/x509_crl.c index ce6df6e..78b925c 100644 --- a/library/x509_crl.c +++ b/library/x509_crl.c
@@ -279,7 +279,7 @@ if( crl->version != 0 && crl->next == NULL ) { - crl->next = (x509_crl *) polarssl_malloc( sizeof( x509_crl ) ); + crl->next = polarssl_malloc( sizeof( x509_crl ) ); if( crl->next == NULL ) {