diff --git a/src/ssl/linux/init.c b/src/ssl/linux/init.c index 80b9181..3f4f239 100644 --- a/src/ssl/linux/init.c +++ b/src/ssl/linux/init.c @@ -98,6 +98,7 @@ int ssl_ctx_init(H3270 *hSession, SSL_ERROR_MESSAGE * message) ssl_3270_ex_index = SSL_get_ex_new_index(0,NULL,NULL,NULL,NULL); + #ifdef SSL_ENABLE_CRL_CHECK // Enable CRL check diff --git a/src/ssl/negotiate.c b/src/ssl/negotiate.c index 3f51435..ba5ae44 100644 --- a/src/ssl/negotiate.c +++ b/src/ssl/negotiate.c @@ -144,19 +144,19 @@ static const struct ssl_protocol { { .id = SSL3_VERSION, - .description = "SSLv3" + .description = SSL_TXT_SSLV3 }, { .id = TLS1_VERSION, - .description = "TLSv1" + .description = SSL_TXT_TLSV1 }, { .id = TLS1_1_VERSION, - .description = "TLSv1.1" + .description = SSL_TXT_TLSV1_1 }, { .id = TLS1_2_VERSION, - .description = "TLSv1.2" + .description = SSL_TXT_TLSV1_2 }, { .id = DTLS1_VERSION, -- libgit2 0.21.2