diff options
Diffstat (limited to 'include/mbedtls/sha1.h')
-rw-r--r-- | include/mbedtls/sha1.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbedtls/sha1.h b/include/mbedtls/sha1.h index 38ea10b1..bb6ecf05 100644 --- a/include/mbedtls/sha1.h +++ b/include/mbedtls/sha1.h @@ -328,6 +328,8 @@ MBEDTLS_DEPRECATED void mbedtls_sha1( const unsigned char *input, #undef MBEDTLS_DEPRECATED #endif /* !MBEDTLS_DEPRECATED_REMOVED */ +#if defined(MBEDTLS_SELF_TEST) + /** * \brief The SHA-1 checkup routine. * @@ -341,6 +343,8 @@ MBEDTLS_DEPRECATED void mbedtls_sha1( const unsigned char *input, */ int mbedtls_sha1_self_test( int verbose ); +#endif /* MBEDTLS_SELF_TEST */ + #ifdef __cplusplus } #endif |