summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
authortb <>2024-07-13 18:33:18 +0000
committertb <>2024-07-13 18:33:18 +0000
commitdfcd8a8d076839996503a7743601fd0ee686a0d0 (patch)
tree4966c0a9f0261466ab6055016c251996494e5cef /src/lib/libssl/ssl.h
parent887938c431474ff916a38fb6794af1148ce9393b (diff)
downloadopenbsd-dfcd8a8d076839996503a7743601fd0ee686a0d0.tar.gz
openbsd-dfcd8a8d076839996503a7743601fd0ee686a0d0.tar.bz2
openbsd-dfcd8a8d076839996503a7743601fd0ee686a0d0.zip
ssl2.h and ssl23.h join the party in the attic
Now that the SSL2 client hello support is gone, nothing uses this anymore, except that a few ports still need SSL2_VERSION. ok beck
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 22d4809868..e63312a123 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.237 2024/05/27 09:12:31 jsg Exp $ */ 1/* $OpenBSD: ssl.h,v 1.238 2024/07/13 18:33:18 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -653,11 +653,9 @@ void SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb);
653} 653}
654#endif 654#endif
655 655
656#include <openssl/ssl2.h>
657#include <openssl/ssl3.h> 656#include <openssl/ssl3.h>
658#include <openssl/tls1.h> /* This is mostly sslv3 with a few tweaks */ 657#include <openssl/tls1.h> /* This is mostly sslv3 with a few tweaks */
659#include <openssl/dtls1.h> /* Datagram TLS */ 658#include <openssl/dtls1.h> /* Datagram TLS */
660#include <openssl/ssl23.h>
661#include <openssl/srtp.h> /* Support for the use_srtp extension */ 659#include <openssl/srtp.h> /* Support for the use_srtp extension */
662 660
663#ifdef __cplusplus 661#ifdef __cplusplus
@@ -2331,6 +2329,12 @@ void ERR_load_SSL_strings(void);
2331int OPENSSL_init_ssl(uint64_t opts, const void *settings); 2329int OPENSSL_init_ssl(uint64_t opts, const void *settings);
2332int SSL_library_init(void); 2330int SSL_library_init(void);
2333 2331
2332/*
2333 * A few things still use this without #ifdef guard.
2334 */
2335
2336#define SSL2_VERSION 0x0002
2337
2334#ifdef __cplusplus 2338#ifdef __cplusplus
2335} 2339}
2336#endif 2340#endif