From 1da76b3706a6c9bd41bf8f219d7c97de5e1e5c7f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 26 Apr 2024 19:44:18 +0200 Subject: Merging upstream version 4.2.4. Signed-off-by: Daniel Baumann --- ui/ssl_key_export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/ssl_key_export.c') diff --git a/ui/ssl_key_export.c b/ui/ssl_key_export.c index fe72a75d..f077ef06 100644 --- a/ui/ssl_key_export.c +++ b/ui/ssl_key_export.c @@ -26,7 +26,7 @@ ssl_session_key_count(void) { int count = 0; ssl_master_key_map_t *mk_map = tls_get_master_key_map(FALSE); - if (!mk_map) + if (!mk_map || !mk_map->used_crandom) return count; GHashTableIter iter; -- cgit v1.2.3