Skip to content

Commit

Permalink
mbedtls of ubuntu2204 does not have these files, we can remove them a…
Browse files Browse the repository at this point in the history
…nd still refer to `MBEDTLS_SHA384_C` at least on homebrew
  • Loading branch information
kazuho committed Nov 14, 2023
1 parent cdc4462 commit 62236db
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions include/picotls/mbedtls.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
extern "C" {
#endif

#include <mbedtls/mbedtls_config.h>
#include <mbedtls/build_info.h>
#include <psa/crypto.h>
#include "picotls.h"

/* before using any of these objects, psa_crypto_init() must be called */
Expand Down
4 changes: 0 additions & 4 deletions t/mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
#include <stdio.h>
#include <string.h>
#include <picotls.h>
#include "mbedtls/mbedtls_config.h"
#include "mbedtls/build_info.h"
#include "psa/crypto.h"
#include "psa/crypto_struct.h"
#include "picotls/mbedtls.h"
#include "picotls/minicrypto.h"
#include "../deps/picotest/picotest.h"
Expand Down
2 changes: 0 additions & 2 deletions t/ptlsbench.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
#endif

#ifdef PTLS_HAVE_MBEDTLS
#include "mbedtls/build_info.h"
#include "psa/crypto.h"
#include "picotls/mbedtls.h"
#endif

Expand Down

0 comments on commit 62236db

Please sign in to comment.