--- src/shared/crypto.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shared/crypto.c b/src/shared/crypto.c index c400081..c438ab3 100644 --- a/src/shared/crypto.c +++ b/src/shared/crypto.c @@ -279,7 +279,6 @@ bool bt_crypto_sign_att(struct bt_crypto *crypto, const uint8_t key[16], /* The most significant octet of key corresponds to key[0] */ swap_buf(key, tmp, 16); - memcpy(signature, tmp + 4, 12); fd = alg_new(crypto->cmac_aes, tmp, 16); if (fd < 0) return false; -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html