7c4fdadf07
- fips: allow a few more primes in RSA key generation - fips: tighten PKCS#12 algorithm checks - Correct return value of KTLS stub API Resolves: #2033220 Signed-off-by: Daiki Ueno <dueno@redhat.com>
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From a97a93e23483aafc3508adee8e6399a2302e0fbc Mon Sep 17 00:00:00 2001
|
|
From: Daiki Ueno <ueno@gnu.org>
|
|
Date: Tue, 15 Feb 2022 17:38:20 +0100
|
|
Subject: [PATCH] gnutls_transport_is_ktls_enabled: fix return value of stub
|
|
|
|
Signed-off-by: Daiki Ueno <ueno@gnu.org>
|
|
---
|
|
lib/system/ktls.c | 7 +++----
|
|
1 file changed, 3 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/lib/system/ktls.c b/lib/system/ktls.c
|
|
index 7e3cb875ed..f156f08ab2 100644
|
|
--- a/lib/system/ktls.c
|
|
+++ b/lib/system/ktls.c
|
|
@@ -422,12 +422,11 @@ int _gnutls_ktls_recv_int(gnutls_session_t session, content_type_t type,
|
|
|
|
#else //ENABLE_KTLS
|
|
gnutls_transport_ktls_enable_flags_t
|
|
-gnutls_transport_is_ktls_enabled(gnutls_session_t session){
|
|
- return gnutls_assert_val(GNUTLS_E_UNIMPLEMENTED_FEATURE);
|
|
+gnutls_transport_is_ktls_enabled(gnutls_session_t session) {
|
|
+ return 0;
|
|
}
|
|
|
|
-void _gnutls_ktls_enable(gnutls_session_t session){
|
|
- return;
|
|
+void _gnutls_ktls_enable(gnutls_session_t session) {
|
|
}
|
|
|
|
int _gnutls_ktls_set_keys(gnutls_session_t session) {
|
|
--
|
|
2.34.1
|
|
|