From eaea30d30eebf18a6e75c3553461fcc3cc7d4674 Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Wed, 5 Apr 2023 14:36:51 -0400 Subject: [PATCH] Remove duplicated md.h includes Signed-off-by: Andrzej Kurek --- programs/pkey/pk_sign.c | 1 - programs/pkey/pk_verify.c | 1 - programs/pkey/rsa_sign.c | 1 - programs/pkey/rsa_sign_pss.c | 1 - programs/pkey/rsa_verify.c | 1 - programs/pkey/rsa_verify_pss.c | 1 - programs/x509/cert_write.c | 1 - 7 files changed, 7 deletions(-) diff --git a/programs/pkey/pk_sign.c b/programs/pkey/pk_sign.c index 554fdf400a..3335575e26 100644 --- a/programs/pkey/pk_sign.c +++ b/programs/pkey/pk_sign.c @@ -39,7 +39,6 @@ int main(void) #include "mbedtls/error.h" #include "mbedtls/entropy.h" #include "mbedtls/ctr_drbg.h" -#include "mbedtls/md.h" #include "mbedtls/pk.h" #include diff --git a/programs/pkey/pk_verify.c b/programs/pkey/pk_verify.c index db730fb550..a6d34816bb 100644 --- a/programs/pkey/pk_verify.c +++ b/programs/pkey/pk_verify.c @@ -35,7 +35,6 @@ int main(void) #else #include "mbedtls/error.h" -#include "mbedtls/md.h" #include "mbedtls/pk.h" #include diff --git a/programs/pkey/rsa_sign.c b/programs/pkey/rsa_sign.c index 8fb01bb3d7..1308be28bd 100644 --- a/programs/pkey/rsa_sign.c +++ b/programs/pkey/rsa_sign.c @@ -35,7 +35,6 @@ int main(void) #else #include "mbedtls/rsa.h" -#include "mbedtls/md.h" #include #include diff --git a/programs/pkey/rsa_sign_pss.c b/programs/pkey/rsa_sign_pss.c index e4a776e48b..643ac47aa8 100644 --- a/programs/pkey/rsa_sign_pss.c +++ b/programs/pkey/rsa_sign_pss.c @@ -38,7 +38,6 @@ int main(void) #include "mbedtls/entropy.h" #include "mbedtls/ctr_drbg.h" -#include "mbedtls/md.h" #include "mbedtls/rsa.h" #include "mbedtls/pk.h" diff --git a/programs/pkey/rsa_verify.c b/programs/pkey/rsa_verify.c index 248b5625b9..f65883df6a 100644 --- a/programs/pkey/rsa_verify.c +++ b/programs/pkey/rsa_verify.c @@ -35,7 +35,6 @@ int main(void) #else #include "mbedtls/rsa.h" -#include "mbedtls/md.h" #include #include diff --git a/programs/pkey/rsa_verify_pss.c b/programs/pkey/rsa_verify_pss.c index 684f6d25fa..bc2ea64a37 100644 --- a/programs/pkey/rsa_verify_pss.c +++ b/programs/pkey/rsa_verify_pss.c @@ -39,7 +39,6 @@ int main(void) #include "mbedtls/md.h" #include "mbedtls/pem.h" #include "mbedtls/pk.h" -#include "mbedtls/md.h" #include #include diff --git a/programs/x509/cert_write.c b/programs/x509/cert_write.c index b8f68b97f2..9ff9488f66 100644 --- a/programs/x509/cert_write.c +++ b/programs/x509/cert_write.c @@ -42,7 +42,6 @@ int main(void) #include "mbedtls/oid.h" #include "mbedtls/entropy.h" #include "mbedtls/ctr_drbg.h" -#include "mbedtls/md.h" #include "mbedtls/error.h" #include "test/helpers.h"