summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-28 00:49:10 -0400
committerJune McEnroe <june@causal.agency>2020-07-31 12:12:53 -0400
commit2cba445c1c41ec54d86a111a88edbbdb237d91fa (patch)
treecaa07b7e37ac7c7a6d768af8102680b912d50a5d
parenttls_server: Remove SSL_OP_NO_CLIENT_RENEGOTIATION (diff)
downloadlibretls-2cba445c1c41ec54d86a111a88edbbdb237d91fa.tar.gz
libretls-2cba445c1c41ec54d86a111a88edbbdb237d91fa.zip
tls: Use SSL_CTX_get0_param and X509_STORE_get0_param
-rw-r--r--tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tls.c b/tls.c
index f4d9cf0..2a42510 100644
--- a/tls.c
+++ b/tls.c
@@ -445,7 +445,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);
 	}
 
@@ -555,7 +555,7 @@ tls_configure_ssl_verify(struct tls *ctx, SSL_CTX *ssl_ctx, int verify)
 			}
 			xi->crl = NULL;
 		}
-		X509_VERIFY_PARAM_set_flags(store->param,
+		X509_VERIFY_PARAM_set_flags(X509_STORE_get0_param(store),
 		    X509_V_FLAG_CRL_CHECK | X509_V_FLAG_CRL_CHECK_ALL);
 	}
 
pan>Return false from keydown handler in exploreJune McEnroe 2019-01-08Draw lines to tile edgeJune McEnroe 2019-01-08Factor out default pathsJune McEnroe 2019-01-08Remove incorrect default coordinatesJune McEnroe 2019-01-07Set img src when explore fragment changesJune McEnroe 2019-01-07Compress PNG data in imageJune McEnroe kcgi never enables compression for FastCGI. 2019-01-07madvise MADV_NOCORE in imageJune McEnroe 2019-01-07Add license notice to explore JavaScriptJune McEnroe 2019-01-07Add Q/Home binding in exploreJune McEnroe 2019-01-07Fix explore image URLJune McEnroe 2019-01-07Add HOME button, ssh link, AGPL notice to exploreJune McEnroe 2019-01-06Add meta viewport to exploreJune McEnroe 2019-01-06Set background and max-width in exploreJune McEnroe 2019-01-06Swallow writes after the connection is closedJune McEnroe It was not okay. 2019-01-06Handle KCGI_HUPJune McEnroe I hope it's okay that I keep writing to the fwopen stream after streamWrite returns -1. 2019-01-06Install html filesJune McEnroe