summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-09-10 14:50:20 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-09-10 14:50:20 +0000
commit810bd63c603bb3fd4c809bd2797217d8b3ec4324 (patch)
tree3e86aa63b553fccf2ca2e8ba0d32fc1caa41de21
parent24e11162eda0174e3cbe63d48795233a4e6d1b88 (diff)
Remove TLS1_get_{,client_}version()
ok jsing
-rw-r--r--lib/libssl/tls1.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libssl/tls1.h b/lib/libssl/tls1.h
index d091ae7ca91..80dc3d94c48 100644
--- a/lib/libssl/tls1.h
+++ b/lib/libssl/tls1.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls1.h,v 1.47 2021/09/10 14:44:25 tb Exp $ */
+/* $OpenBSD: tls1.h,v 1.48 2021/09/10 14:50:19 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -178,14 +178,6 @@ extern "C" {
#define TLS1_VERSION_MINOR 0x01
#ifndef LIBRESSL_INTERNAL
-#define TLS1_get_version(s) \
- ((s->version >> 8) == TLS1_VERSION_MAJOR ? s->version : 0)
-
-#define TLS1_get_client_version(s) \
- ((s->client_version >> 8) == TLS1_VERSION_MAJOR ? s->client_version : 0)
-#endif
-
-#ifndef LIBRESSL_INTERNAL
#define TLS1_AD_DECRYPTION_FAILED 21
#define TLS1_AD_RECORD_OVERFLOW 22
#define TLS1_AD_UNKNOWN_CA 48 /* fatal */