Skip to content

Commit

Permalink
Use external mbedtls (used as-is from Rafal's PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
kedars committed Aug 25, 2020
1 parent a43a0a8 commit ba63884
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/crypto/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ static_library("crypto") {
public_configs = []
if (chip_crypto == "mbedtls") {
sources += [ "CHIPCryptoPALmbedTLS.cpp" ]
public_deps += [ "${mbedtls_root}:mbedtls" ]

# ESP32 has its own mbedTLS
if (target_cpu != "esp32") {
public_deps += [ "${mbedtls_root}:mbedtls" ]
}
} else if (chip_crypto == "openssl") {
sources += [ "CHIPCryptoPALOpenSSL.cpp" ]
public_configs += [ ":openssl_config" ]
Expand Down

0 comments on commit ba63884

Please sign in to comment.