From 4d11746a360a7df22ee75f0d0cbc99fd43f4f8ca Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 3 Aug 2020 22:17:18 -0300 Subject: [PATCH] Fixing customized build. --- src/ssl/negotiate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssl/negotiate.c b/src/ssl/negotiate.c index c92c55d..b0be773 100644 --- a/src/ssl/negotiate.c +++ b/src/ssl/negotiate.c @@ -401,11 +401,11 @@ static int background_ssl_negotiation(H3270 *hSession, void *message) #ifdef SSL_ENABLE_SELF_SIGNED_CERT_CHECK static const LIB3270_POPUP popup = { - .name = "SelfSignedCert", .type = LIB3270_NOTIFY_SECURE, .summary = N_( "The SSL certificate for this host is not trusted." ), .body = N_( "The security certificate presented by this host was not issued by a trusted certificate authority." ) - } + }; + ((SSL_ERROR_MESSAGE *) message)->popup = &popup; return EACCES; #else -- libgit2 0.21.2