summaryrefslogtreecommitdiff
path: root/lib/crypto/x509_public_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/x509_public_key.c')
-rw-r--r--lib/crypto/x509_public_key.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/crypto/x509_public_key.c b/lib/crypto/x509_public_key.c
index 4ba13c1adc3..310edbd21be 100644
--- a/lib/crypto/x509_public_key.c
+++ b/lib/crypto/x509_public_key.c
@@ -30,6 +30,8 @@
#include "x509_parser.h"
#endif
+#if !CONFIG_IS_ENABLED(MBEDTLS_LIB_X509)
+
/*
* Set up the signature parameters in an X.509 certificate. This involves
* digesting the signed data and extracting the signature.