diff options
author | Szymon Janc <szymon.janc@codecoup.pl> | 2018-03-23 14:08:21 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@codecoup.pl> | 2018-03-26 16:06:20 +0200 |
commit | 834a45d22ee3295c51827f568160a92dbc87bef6 (patch) | |
tree | 2e2a38ff9cdd6d6d445ed40f158679fffb79f5b1 /unit | |
parent | db663b1d57895070efb6cabfd78cb1b5c480cb43 (diff) | |
download | bluez-834a45d22ee3295c51827f568160a92dbc87bef6.tar.gz |
Add support for requiring min key size for access GATT characteristics
This allows to configure bluetoothd to require minimum encryption key
size when accessing GATT server characteristics. It is a global
configuration option affecting whole GATT database.
Diffstat (limited to 'unit')
-rw-r--r-- | unit/test-gatt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/test-gatt.c b/unit/test-gatt.c index 5d79e94c0..c7e28f865 100644 --- a/unit/test-gatt.c +++ b/unit/test-gatt.c @@ -667,7 +667,7 @@ static struct context *create_context(uint16_t mtu, gconstpointer data) g_assert(context->server_db); context->server = bt_gatt_server_new(context->server_db, - context->att, mtu); + context->att, mtu, 0); g_assert(context->server); bt_gatt_server_set_debug(context->server, print_debug, |