pkey: Remove dependency on X.509

This commit is contained in:
Jaeden Amero 2018-10-26 16:55:14 +01:00 committed by Gilles Peskine
parent 8de196a590
commit ed736992d5
4 changed files with 2 additions and 4 deletions

View File

@ -40,7 +40,7 @@
defined(MBEDTLS_PK_PARSE_C) && defined(MBEDTLS_FS_IO) defined(MBEDTLS_PK_PARSE_C) && defined(MBEDTLS_FS_IO)
#include "mbedtls/error.h" #include "mbedtls/error.h"
#include "mbedtls/rsa.h" #include "mbedtls/rsa.h"
#include "mbedtls/x509.h" #include "mbedtls/pk.h"
#include <string.h> #include <string.h>
#endif #endif

View File

@ -42,7 +42,6 @@
#include "mbedtls/entropy.h" #include "mbedtls/entropy.h"
#include "mbedtls/ctr_drbg.h" #include "mbedtls/ctr_drbg.h"
#include "mbedtls/bignum.h" #include "mbedtls/bignum.h"
#include "mbedtls/x509.h"
#include "mbedtls/rsa.h" #include "mbedtls/rsa.h"
#include <stdio.h> #include <stdio.h>

View File

@ -55,7 +55,7 @@ int main( void )
#include "mbedtls/ctr_drbg.h" #include "mbedtls/ctr_drbg.h"
#include "mbedtls/md.h" #include "mbedtls/md.h"
#include "mbedtls/rsa.h" #include "mbedtls/rsa.h"
#include "mbedtls/x509.h" #include "mbedtls/pk.h"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -55,7 +55,6 @@ int main( void )
#include "mbedtls/pem.h" #include "mbedtls/pem.h"
#include "mbedtls/pk.h" #include "mbedtls/pk.h"
#include "mbedtls/md.h" #include "mbedtls/md.h"
#include "mbedtls/x509.h"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>