From 1bc9c135b30a23286cc07abcbb74d1a76bcef221 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 26 Feb 2020 19:52:08 +0100 Subject: [PATCH] Revert "selftest: Remove X.509 selftest" This reverts commit 47a3635fc7107c7d838816475c6c816d9b47f047. --- programs/test/selftest.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/test/selftest.c b/programs/test/selftest.c index bde1163c6..bd28e9a36 100644 --- a/programs/test/selftest.c +++ b/programs/test/selftest.c @@ -51,6 +51,7 @@ #include "mbedtls/base64.h" #include "mbedtls/bignum.h" #include "mbedtls/rsa.h" +#include "mbedtls/x509.h" #include "mbedtls/xtea.h" #include "mbedtls/pkcs5.h" #include "mbedtls/ecp.h" @@ -316,6 +317,9 @@ const selftest_t selftests[] = #if defined(MBEDTLS_RSA_C) {"rsa", mbedtls_rsa_self_test}, #endif +#if defined(MBEDTLS_X509_USE_C) + {"x509", mbedtls_x509_self_test}, +#endif #if defined(MBEDTLS_XTEA_C) {"xtea", mbedtls_xtea_self_test}, #endif