commit | a252af760f35f63da49ba24c58d60224d2a26793 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Mar 27 16:15:55 2015 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Mar 27 16:15:55 2015 +0100 |
tree | 067cae5ea51712b89d8add490d215029e9a52ef5 | |
parent | 957b1ee96efcfb7a615c535861c5e0efbc04becd [diff] |
Minor source simplification
diff --git a/library/x509_crt.c b/library/x509_crt.c index 7d12bca..013f070 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c
@@ -723,17 +723,15 @@ #if !defined(POLARSSL_X509_ALLOW_EXTENSIONS_NON_V3) if( crt->version == 3 ) - { #endif + { ret = x509_get_crt_ext( &p, end, crt ); if( ret != 0 ) { x509_crt_free( crt ); return( ret ); } -#if !defined(POLARSSL_X509_ALLOW_EXTENSIONS_NON_V3) } -#endif if( p != end ) {