From 072453d16c161abb173609888efb1c99695794d6 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 30 Jun 2022 11:25:52 +0000 Subject: [PATCH] Rename variable from tls_version to version since it could also be a DTLS version at this point. --- lib/libssl/ssl_seclevel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libssl/ssl_seclevel.c b/lib/libssl/ssl_seclevel.c index 2fe6e3f222a..954f27b336b 100644 --- a/lib/libssl/ssl_seclevel.c +++ b/lib/libssl/ssl_seclevel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_seclevel.c,v 1.12 2022/06/30 11:17:49 tb Exp $ */ +/* $OpenBSD: ssl_seclevel.c,v 1.13 2022/06/30 11:25:52 tb Exp $ */ /* * Copyright (c) 2020 Theo Buehler * @@ -233,9 +233,9 @@ ssl_security(const SSL *ssl, int op, int bits, int nid, void *other) } int -ssl_security_version(const SSL *ssl, int tls_version) +ssl_security_version(const SSL *ssl, int version) { - return ssl_security(ssl, SSL_SECOP_VERSION, 0, tls_version, NULL); + return ssl_security(ssl, SSL_SECOP_VERSION, 0, version, NULL); } int -- 2.20.1