about summary refs log tree commit diff
path: root/tls.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-14 21:26:33 -0400
committerJune McEnroe <june@causal.agency>2021-10-14 21:26:33 -0400
commite68b599d314e314b4b4a78e8c2eee9bd725d453b (patch)
tree6ce6efc9893751088fa21135640e58621d072b32 /tls.c
parentImport LibreSSL 3.4.0 (diff)
downloadlibretls-e68b599d314e314b4b4a78e8c2eee9bd725d453b.tar.gz
libretls-e68b599d314e314b4b4a78e8c2eee9bd725d453b.zip
Import LibreSSL 3.4.1
Diffstat (limited to 'tls.c')
-rw-r--r--tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tls.c b/tls.c
index 262ec3d..fb8804d 100644
--- a/tls.c
+++ b/tls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls.c,v 1.89 2021/02/01 15:35:41 tb Exp $ */
+/* $OpenBSD: tls.c,v 1.90 2021/10/02 09:46:48 jsing 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->param,
+		X509_VERIFY_PARAM_set_flags(SSL_CTX_get0_param(ssl_ctx),
 		    X509_V_FLAG_NO_CHECK_TIME);
 	}