commit | 790e395729ea3915a1bf3cdc284e2fff574c2840 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Wed Apr 30 16:48:32 2014 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Wed Apr 30 16:48:32 2014 +0200 |
tree | 4963f9a83ba1b0fc76d9fc2fa52f217416933f70 | |
parent | 1a9cb8197305e04d9a4251cacd928e5466c89483 [diff] [blame] |
Fixed to the features check
diff --git a/scripts/data_files/version_features.fmt b/scripts/data_files/version_features.fmt index c6a424f..1b1a918 100644 --- a/scripts/data_files/version_features.fmt +++ b/scripts/data_files/version_features.fmt
@@ -41,7 +41,9 @@ #endif const char *features[] = { +#if defined(POLARSSL_VERSION_FEATURES) FEATURE_DEFINES +#endif NULL }; @@ -49,6 +51,9 @@ { const char **idx = features; + if( *idx == NULL ) + return( -2 ); + if( feature == NULL ) return( -1 );