diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2021-10-02 09:46:49 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2021-10-02 09:46:49 +0000 |
commit | 9db98eaf7903702c0d4835a4f12b273ce80df442 (patch) | |
tree | 62619aca363a90c10402cf5b1bfe452918f85132 /lib | |
parent | b26633e1f78f8bdc419659e36ee29519d3e770a0 (diff) |
Use SSL_CTX_get0_param() rather than reaching into the SSL_CTX.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libtls/tls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtls/tls.c b/lib/libtls/tls.c index 262ec3dbbf9..fb8804dc1c3 100644 --- a/lib/libtls/tls.c +++ b/lib/libtls/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); } |