summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-07-07 13:03:00 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-07-07 13:03:00 +0000
commitf0fe68451f5ea42ab4d2319ddf08bf29c75c27be (patch)
treeb03bdd3116715a8d187b1cd4565ae7e19d49ccee /lib/libssl
parentd263b4ad378649d85b927aaa593cf5fb47b651f0 (diff)
Expose security level symbols and error codes in the headers.
ok jsing
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/ssl.h4
-rw-r--r--lib/libssl/tls1.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index c7339928489..d9a56b19018 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.218 2022/06/29 17:39:20 beck Exp $ */
+/* $OpenBSD: ssl.h,v 1.219 2022/07/07 13:02:59 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1507,7 +1507,6 @@ int SSL_set_session_secret_cb(SSL *s,
void SSL_set_debug(SSL *s, int debug);
int SSL_cache_hit(SSL *s);
-#if defined(LIBRESSL_INTERNAL)
/* What the "other" parameter contains in security callback */
/* Mask for type */
#define SSL_SECOP_OTHER_TYPE 0xffff0000
@@ -1576,7 +1575,6 @@ int SSL_get_security_level(const SSL *ssl);
void SSL_CTX_set_security_level(SSL_CTX *ctx, int level);
int SSL_CTX_get_security_level(const SSL_CTX *ctx);
-#endif /* LIBRESSL_INTERNAL */
#ifdef LIBRESSL_INTERNAL
/*
diff --git a/lib/libssl/tls1.h b/lib/libssl/tls1.h
index 2f6e2e3bd07..0dadffc8e6a 100644
--- a/lib/libssl/tls1.h
+++ b/lib/libssl/tls1.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls1.h,v 1.53 2022/06/29 17:39:20 beck Exp $ */
+/* $OpenBSD: tls1.h,v 1.54 2022/07/07 13:02:59 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -159,11 +159,9 @@
extern "C" {
#endif
-#if defined(LIBRESSL_INTERNAL)
#ifndef OPENSSL_TLS_SECURITY_LEVEL
#define OPENSSL_TLS_SECURITY_LEVEL 1
#endif
-#endif
#define TLS1_ALLOW_EXPERIMENTAL_CIPHERSUITES 0