summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-11-29 15:21:19 -0500
committerJune McEnroe <june@causal.agency>2021-11-29 15:21:19 -0500
commit1a4ed95b258eb9d31da7b454d973f1e517ac2142 (patch)
tree2ee5e65ac117742aab4d00d6d793987b5cd7fc92
parentMerge LibreSSL 3.4.2 (diff)
downloadlibretls-1a4ed95b258eb9d31da7b454d973f1e517ac2142.tar.gz
libretls-1a4ed95b258eb9d31da7b454d973f1e517ac2142.zip
tls: Revert accidentally(?) reverted upstream 3.4.2
-rw-r--r--tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tls.c b/tls.c
index 7b612b8..fabf790 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>
  *
@@ -582,7 +582,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);
 	}