This is an automated email from the ASF dual-hosted git repository. rymek pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit c6eddb058e38cc8faf45d013dc21d7dd53ef7eb7 Author: Ćukasz Rymanowski <lukasz.rymanow...@codecoup.pl> AuthorDate: Wed Aug 28 07:42:46 2019 +0200 nimble/sm: Minor coding style fix --- nimble/host/src/ble_sm_alg.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/nimble/host/src/ble_sm_alg.c b/nimble/host/src/ble_sm_alg.c index 50fd77e..148995c 100644 --- a/nimble/host/src/ble_sm_alg.c +++ b/nimble/host/src/ble_sm_alg.c @@ -68,8 +68,6 @@ ble_sm_alg_encrypt(const uint8_t *key, const uint8_t *plaintext, swap_buf(tmp, plaintext, 16); - - if (tc_aes_encrypt(enc_data, tmp, &s) == TC_CRYPTO_FAIL) { return BLE_HS_EUNKNOWN; }