This commit is contained in:
ldcsaa 2024-09-21 04:36:19 +08:00
parent 75344a938c
commit 49fcdbe778
115 changed files with 132 additions and 81 deletions

View File

@ -1,5 +1,16 @@
========================================================================================== ==========================================================================================
v6.0.1 Update: v6.0.3 Update:
==========================================================================================
> Major Upadate
-----------------
> Third-party library Upadate
-----------------
1. openssl upgrade to version 3.0.15.
==========================================================================================
v6.0.2 Update:
========================================================================================== ==========================================================================================
> Major Upadate > Major Upadate

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "../../../include/hpsocket/GlobalDef.h" #include "../../include/hpsocket/GlobalDef.h"
#include <stddef.h> #include <stddef.h>

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

Binary file not shown.

Binary file not shown.

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

Binary file not shown.

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

Binary file not shown.

Binary file not shown.

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

Binary file not shown.

Binary file not shown.

View File

@ -28,7 +28,7 @@
/* HP-Socket 版本号 */ /* HP-Socket 版本号 */
#define HP_VERSION_MAJOR 6 // 主版本号 #define HP_VERSION_MAJOR 6 // 主版本号
#define HP_VERSION_MINOR 0 // 子版本号 #define HP_VERSION_MINOR 0 // 子版本号
#define HP_VERSION_REVISE 2 // 修正版本号 #define HP_VERSION_REVISE 3 // 修正版本号
#define HP_VERSION_BUILD 1 // 构建编号 #define HP_VERSION_BUILD 1 // 构建编号
//#define _UDP_DISABLED // 禁用 UDP //#define _UDP_DISABLED // 禁用 UDP

View File

@ -4,7 +4,7 @@
<PropertyGroup Label="UserMacros"> <PropertyGroup Label="UserMacros">
<VER_MAJOR>6</VER_MAJOR> <VER_MAJOR>6</VER_MAJOR>
<VER_MINOR>0</VER_MINOR> <VER_MINOR>0</VER_MINOR>
<VER_REVISE>2</VER_REVISE> <VER_REVISE>3</VER_REVISE>
<VER_BUILD>1</VER_BUILD> <VER_BUILD>1</VER_BUILD>
<ArmDeptToCopyRemotely>..\..\dependent\arm\include\brotli\decode.h:=$(RemoteRootDir)/dependent/arm/include/brotli/decode.h;..\..\dependent\arm\include\brotli\encode.h:=$(RemoteRootDir)/dependent/arm/include/brotli/encode.h;..\..\dependent\arm\include\brotli\port.h:=$(RemoteRootDir)/dependent/arm/include/brotli/port.h;..\..\dependent\arm\include\brotli\types.h:=$(RemoteRootDir)/dependent/arm/include/brotli/types.h;..\..\dependent\arm\lib\libbrotli.a:=$(RemoteRootDir)/dependent/arm/lib/libbrotli.a;..\..\dependent\arm\lib\libjemalloc_pic.a:=$(RemoteRootDir)/dependent/arm/lib/libjemalloc_pic.a;..\..\dependent\arm\lib\libmimalloc.a:=$(RemoteRootDir)/dependent/arm/lib/libmimalloc.a</ArmDeptToCopyRemotely> <ArmDeptToCopyRemotely>..\..\dependent\arm\include\brotli\decode.h:=$(RemoteRootDir)/dependent/arm/include/brotli/decode.h;..\..\dependent\arm\include\brotli\encode.h:=$(RemoteRootDir)/dependent/arm/include/brotli/encode.h;..\..\dependent\arm\include\brotli\port.h:=$(RemoteRootDir)/dependent/arm/include/brotli/port.h;..\..\dependent\arm\include\brotli\types.h:=$(RemoteRootDir)/dependent/arm/include/brotli/types.h;..\..\dependent\arm\lib\libbrotli.a:=$(RemoteRootDir)/dependent/arm/lib/libbrotli.a;..\..\dependent\arm\lib\libjemalloc_pic.a:=$(RemoteRootDir)/dependent/arm/lib/libjemalloc_pic.a;..\..\dependent\arm\lib\libmimalloc.a:=$(RemoteRootDir)/dependent/arm/lib/libmimalloc.a</ArmDeptToCopyRemotely>
<Arm64DeptToCopyRemotely>..\..\dependent\arm64\include\brotli\decode.h:=$(RemoteRootDir)/dependent/arm64/include/brotli/decode.h;..\..\dependent\arm64\include\brotli\encode.h:=$(RemoteRootDir)/dependent/arm64/include/brotli/encode.h;..\..\dependent\arm64\include\brotli\port.h:=$(RemoteRootDir)/dependent/arm64/include/brotli/port.h;..\..\dependent\arm64\include\brotli\types.h:=$(RemoteRootDir)/dependent/arm64/include/brotli/types.h;..\..\dependent\arm64\lib\libbrotli.a:=$(RemoteRootDir)/dependent/arm64/lib/libbrotli.a;..\..\dependent\arm64\lib\libjemalloc_pic.a:=$(RemoteRootDir)/dependent/arm64/lib/libjemalloc_pic.a;..\..\dependent\arm64\lib\libmimalloc.a:=$(RemoteRootDir)/dependent/arm64/lib/libmimalloc.a</Arm64DeptToCopyRemotely> <Arm64DeptToCopyRemotely>..\..\dependent\arm64\include\brotli\decode.h:=$(RemoteRootDir)/dependent/arm64/include/brotli/decode.h;..\..\dependent\arm64\include\brotli\encode.h:=$(RemoteRootDir)/dependent/arm64/include/brotli/encode.h;..\..\dependent\arm64\include\brotli\port.h:=$(RemoteRootDir)/dependent/arm64/include/brotli/port.h;..\..\dependent\arm64\include\brotli\types.h:=$(RemoteRootDir)/dependent/arm64/include/brotli/types.h;..\..\dependent\arm64\lib\libbrotli.a:=$(RemoteRootDir)/dependent/arm64/lib/libbrotli.a;..\..\dependent\arm64\lib\libjemalloc_pic.a:=$(RemoteRootDir)/dependent/arm64/lib/libjemalloc_pic.a;..\..\dependent\arm64\lib\libmimalloc.a:=$(RemoteRootDir)/dependent/arm64/lib/libmimalloc.a</Arm64DeptToCopyRemotely>

View File

@ -550,8 +550,8 @@ extern "C" {
#if defined(__wasm__) #if defined(__wasm__)
#define LLHTTP_EXPORT __attribute__((visibility("default"))) #define LLHTTP_EXPORT __attribute__((visibility("default")))
#elif defined(_WIN32) //#elif defined(_WIN32)
#define LLHTTP_EXPORT __declspec(dllexport) //#define LLHTTP_EXPORT __declspec(dllexport)
#else #else
#define LLHTTP_EXPORT #define LLHTTP_EXPORT
#endif #endif

View File

@ -1,3 +1,19 @@
==========================================================================================
v6.0.3 更新:
==========================================================================================
> 主要更新:
-----------------
1、修复BUG上个版本升级 llhttp 时,意外导出了 llhttp 库函数
> 第三方库更新:
-----------------
1、openssl 升级到 3.0.15
> 升级说明:
-----------------
1、HP-Socket v6.0.2 兼容 HP-Socket v6.0.1 版本,可以直接替换升级
========================================================================================== ==========================================================================================
v6.0.2 更新: v6.0.2 更新:
========================================================================================== ==========================================================================================

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

View File

@ -29,7 +29,7 @@ extern "C" {
*/ */
# define OPENSSL_VERSION_MAJOR 3 # define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0 # define OPENSSL_VERSION_MINOR 0
# define OPENSSL_VERSION_PATCH 14 # define OPENSSL_VERSION_PATCH 15
/* /*
* Additional version information * Additional version information
@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and * longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended. * OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/ */
# define OPENSSL_VERSION_STR "3.0.14" # define OPENSSL_VERSION_STR "3.0.15"
# define OPENSSL_FULL_VERSION_STR "3.0.14" # define OPENSSL_FULL_VERSION_STR "3.0.15"
/* /*
* SECTION 3: ADDITIONAL METADATA * SECTION 3: ADDITIONAL METADATA
* *
* These strings are defined separately to allow them to be parsable. * These strings are defined separately to allow them to be parsable.
*/ */
# define OPENSSL_RELEASE_DATE "4 Jun 2024" # define OPENSSL_RELEASE_DATE "3 Sep 2024"
/* /*
* SECTION 4: BACKWARD COMPATIBILITY * SECTION 4: BACKWARD COMPATIBILITY
*/ */
# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.14 4 Jun 2024" # define OPENSSL_VERSION_TEXT "OpenSSL 3.0.15 3 Sep 2024"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE # ifdef OPENSSL_VERSION_PRE_RELEASE

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved. * Copyright 2005 Nokia. All rights reserved.
* *
@ -210,6 +210,8 @@ extern "C" {
# define TLSEXT_max_fragment_length_1024 2 # define TLSEXT_max_fragment_length_1024 2
# define TLSEXT_max_fragment_length_2048 3 # define TLSEXT_max_fragment_length_2048 3
# define TLSEXT_max_fragment_length_4096 4 # define TLSEXT_max_fragment_length_4096 4
/* OpenSSL value for unset maximum fragment length extension */
# define TLSEXT_max_fragment_length_UNSPECIFIED 255
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode);
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode);

View File

@ -26,7 +26,7 @@
/* HP-Socket 版本号 */ /* HP-Socket 版本号 */
#define HP_VERSION_MAJOR 6 // 主版本号 #define HP_VERSION_MAJOR 6 // 主版本号
#define HP_VERSION_MINOR 0 // 子版本号 #define HP_VERSION_MINOR 0 // 子版本号
#define HP_VERSION_REVISE 2 // 修正版本号 #define HP_VERSION_REVISE 3 // 修正版本号
#define HP_VERSION_BUILD 1 // 构建编号 #define HP_VERSION_BUILD 1 // 构建编号
//#define _UDP_DISABLED // 禁用 UDP //#define _UDP_DISABLED // 禁用 UDP

Some files were not shown because too many files have changed in this diff Show More