commit | 6c0ceb3f9aacdabeb475acdeae741685bb9d46bb | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Sun Dec 04 12:24:18 2011 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Sun Dec 04 12:24:18 2011 +0000 |
tree | 3225512c927b0e73ac28b4abca7e8c064e5a7be6 | |
parent | a17bcc3033e5193213b05a9c713829689c9f7692 [diff] [blame] |
- Added permissive certificate parsing to x509parse_crt() and x509parse_crtfile(). With permissive parsing the parsing does not stop on encountering a parse-error
diff --git a/library/pem.c b/library/pem.c index 3e8f79e..33e74ab 100644 --- a/library/pem.c +++ b/library/pem.c
@@ -345,6 +345,8 @@ if( ctx->info ) free( ctx->info ); + + memset( ctx, 0, sizeof( pem_context ) ); } #endif