summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--tls.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index bc5999b..ec46c1f 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-3.4.1
+3.4.2
 
diff --git a/tls.c b/tls.c
index fb8804d..262ec3d 100644
--- a/tls.c
+++ b/tls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls.c,v 1.90 2021/10/02 09:46:48 jsing Exp $ */
+/* $OpenBSD: tls.c,v 1.89 2021/02/01 15:35:41 tb Exp $ */
 /*
  * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
  *
@@ -521,7 +521,7 @@ tls_configure_ssl(struct tls *ctx, SSL_CTX *ssl_ctx)
 	}
 
 	if (ctx->config->verify_time == 0) {
-		X509_VERIFY_PARAM_set_flags(SSL_CTX_get0_param(ssl_ctx),
+		X509_VERIFY_PARAM_set_flags(ssl_ctx->param,
 		    X509_V_FLAG_NO_CHECK_TIME);
 	}