diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-31 17:59:51 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-31 17:59:56 +0300 |
commit | 2bc61ef3fb2ddd7add98aff081e5c6d721e10ba8 (patch) | |
tree | d1230479c9b3869ba36fb334c8673c84e0be7653 /include/openssl/ssl3.h | |
parent | f8da1f41d902c3c20f290b1988b13ce5073ab302 (diff) |
fixes #4149 (OpenSSL: switch to OpenSSL 3.x)
Diffstat (limited to 'include/openssl/ssl3.h')
-rw-r--r-- | include/openssl/ssl3.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/include/openssl/ssl3.h b/include/openssl/ssl3.h index f89b0a8b1d..e6f9c9dba2 100644 --- a/include/openssl/ssl3.h +++ b/include/openssl/ssl3.h @@ -1,15 +1,21 @@ /*
- * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
- * Licensed under the OpenSSL license (the "License"). You may not use
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
-#ifndef HEADER_SSL3_H
-# define HEADER_SSL3_H
+#ifndef OPENSSL_SSL3_H
+# define OPENSSL_SSL3_H
+# pragma once
+
+# include <openssl/macros.h>
+# ifndef OPENSSL_NO_DEPRECATED_3_0
+# define HEADER_SSL3_H
+# endif
# include <openssl/comp.h>
# include <openssl/buffer.h>
@@ -206,7 +212,7 @@ extern "C" { # define SSL3_MD_CLIENT_FINISHED_CONST "\x43\x4C\x4E\x54"
# define SSL3_MD_SERVER_FINISHED_CONST "\x53\x52\x56\x52"
-# define SSL3_VERSION 0x0300
+/* SSL3_VERSION is defined in prov_ssl.h */
# define SSL3_VERSION_MAJOR 0x03
# define SSL3_VERSION_MINOR 0x00
@@ -214,7 +220,6 @@ extern "C" { # define SSL3_RT_ALERT 21
# define SSL3_RT_HANDSHAKE 22
# define SSL3_RT_APPLICATION_DATA 23
-# define DTLS1_RT_HEARTBEAT 24
/* Pseudo content types to indicate additional parameters */
# define TLS1_RT_CRYPTO 0x1000
@@ -265,7 +270,7 @@ extern "C" { * SSL3_CT_NUMBER is used to size arrays and it must be large enough to
* contain all of the cert types defined for *either* SSLv3 and TLSv1.
*/
-# define SSL3_CT_NUMBER 10
+# define SSL3_CT_NUMBER 12
# if defined(TLS_CT_NUMBER)
# if TLS_CT_NUMBER != SSL3_CT_NUMBER
|