summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-06-30 11:25:52 +0000
committertb <>2022-06-30 11:25:52 +0000
commit0ab0519d6cd5ac501518b8dcc6735cf61481f520 (patch)
tree4fafa4e61cbb6deab7596c54d5309bc3aead60f2
parentd4cf4432044589137756086ce6c52b4b13b7f563 (diff)
downloadopenbsd-0ab0519d6cd5ac501518b8dcc6735cf61481f520.tar.gz
openbsd-0ab0519d6cd5ac501518b8dcc6735cf61481f520.tar.bz2
openbsd-0ab0519d6cd5ac501518b8dcc6735cf61481f520.zip
Rename variable from tls_version to version since it could also be
a DTLS version at this point.
-rw-r--r--src/lib/libssl/ssl_seclevel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_seclevel.c b/src/lib/libssl/ssl_seclevel.c
index 2fe6e3f222..954f27b336 100644
--- a/src/lib/libssl/ssl_seclevel.c
+++ b/src/lib/libssl/ssl_seclevel.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_seclevel.c,v 1.12 2022/06/30 11:17:49 tb Exp $ */ 1/* $OpenBSD: ssl_seclevel.c,v 1.13 2022/06/30 11:25:52 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2020 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -233,9 +233,9 @@ ssl_security(const SSL *ssl, int op, int bits, int nid, void *other)
233} 233}
234 234
235int 235int
236ssl_security_version(const SSL *ssl, int tls_version) 236ssl_security_version(const SSL *ssl, int version)
237{ 237{
238 return ssl_security(ssl, SSL_SECOP_VERSION, 0, tls_version, NULL); 238 return ssl_security(ssl, SSL_SECOP_VERSION, 0, version, NULL);
239} 239}
240 240
241int 241int