diff options
author | Frantisek Krenzelok <krenzelok.frantisek@gmail.com> | 2022-08-02 15:00:50 +0200 |
---|---|---|
committer | Frantisek Krenzelok <krenzelok.frantisek@gmail.com> | 2022-10-05 14:19:46 +0200 |
commit | c83b9ecbe8e7e5442867281236d8c9e1bd227204 (patch) | |
tree | e6a6dc562ba465479d799ca6279312379de9477a /lib/handshake.c | |
parent | 08be2c563e29a846e5a1cae25caa010430dc0ecd (diff) | |
download | gnutls-c83b9ecbe8e7e5442867281236d8c9e1bd227204.tar.gz |
KTLS: set key on specific interfaces
It is now possible to set key on specific interface.
If interface given is not ktls enabled then it will be ignored.
Signed-off-by: Frantisek Krenzelok <krenzelok.frantisek@gmail.com>
Diffstat (limited to 'lib/handshake.c')
-rw-r--r-- | lib/handshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handshake.c b/lib/handshake.c index 21edc5ece9..cb2bc3ae9c 100644 --- a/lib/handshake.c +++ b/lib/handshake.c @@ -2924,7 +2924,7 @@ int gnutls_handshake(gnutls_session_t session) #ifdef ENABLE_KTLS if (IS_KTLS_ENABLED(session, GNUTLS_KTLS_DUPLEX)) { - _gnutls_ktls_set_keys(session); + _gnutls_ktls_set_keys(session, GNUTLS_KTLS_DUPLEX); } #endif |