diff options
author | Raymond Mao <raymond.mao@linaro.org> | 2024-10-03 14:50:31 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-14 17:58:46 -0600 |
commit | 3741abfe86c677ed6ea05571bbab34cc25886848 (patch) | |
tree | 28f2e201030f21701a22d6755261afc617e7e1ca /lib/crypto/x509_public_key.c | |
parent | 70002cec5f1c43c4a57c802b5149a1f320c5eaac (diff) |
lib/crypto: Adapt x509_cert_parser to MbedTLS
Previous patch has introduced MbedTLS porting layer for x509 cert parser,
here to adjust the header and makefiles accordingly.
Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Diffstat (limited to 'lib/crypto/x509_public_key.c')
-rw-r--r-- | lib/crypto/x509_public_key.c | 2 |
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. |