Skip to content

Commit 1b59c03

Browse files
committed
OpenSSL 3.5.3 integration and 5.23 release preparation
1 parent 0fb4bed commit 1b59c03

File tree

8 files changed

+24
-18
lines changed

8 files changed

+24
-18
lines changed

CHANGES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## AmiSSL 5.23 (17.9.2025)
2+
3+
- Updated OpenSSL backend to full compatibility with the latest
4+
OpenSSL 3.5.3 (16.9.2025) version which includes minor fixes.
5+
- Updated root certificates to latest Mozilla-based bundle provided
6+
by https://curl.se/docs/caextract.html dated 9.9.2025.
7+
18
## AmiSSL 5.22 (11.8.2025)
29

310
- Updated OpenSSL backend to full compatibility with the latest

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ endif
152152
# none - because we want to compile with -Wall all the time
153153

154154
VERSION=5
155-
REVISION=22
155+
REVISION=23
156156

157157
include openssl/VERSION.dat
158158
VERSIONNAME=$(MAJOR)$(MINOR)$(PATCH)

include/libraries/amisslmaster.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ enum AmiSSLVersion
6969
AMISSL_V350, /* AmiSSL v5.20 */
7070
AMISSL_V351, /* AmiSSL v5.21 */
7171
AMISSL_V352, /* AmiSSL v5.22 */
72+
AMISSL_V353, /* AmiSSL v5.23 */
7273

7374
/* ADD NEW VERSIONS ABOVE THIS LINE */
7475
AMISSL_VMAX

include/openssl/crypto.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* This file has been modified for use with AmiSSL for AmigaOS-based systems.
1010
*
11-
* Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
11+
* Copyright 1995-2025 The OpenSSL Project Authors. All Rights Reserved.
1212
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
1313
*
1414
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -370,9 +370,9 @@ OSSL_CRYPTO_ALLOC void *CRYPTO_zalloc(size_t num, const char *file, int line);
370370
OSSL_CRYPTO_ALLOC void *CRYPTO_aligned_alloc(size_t num, size_t align,
371371
void **freeptr, const char *file,
372372
int line);
373-
OSSL_CRYPTO_ALLOC void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
374-
OSSL_CRYPTO_ALLOC char *CRYPTO_strdup(const char *str, const char *file, int line);
375-
OSSL_CRYPTO_ALLOC char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
373+
void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
374+
char *CRYPTO_strdup(const char *str, const char *file, int line);
375+
char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
376376
void CRYPTO_free(void *ptr, const char *file, int line);
377377
void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
378378
void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);

include/openssl/opensslv.h

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* This file has been modified for use with AmiSSL for AmigaOS-based systems.
1010
*
11-
* Copyright 1999-2020 The OpenSSL Project Authors. All Rights Reserved.
11+
* Copyright 1999-2025 The OpenSSL Project Authors. All Rights Reserved.
1212
*
1313
* Licensed under the Apache License 2.0 (the "License"). You may not use
1414
* this file except in compliance with the License. You can obtain a copy
@@ -41,7 +41,7 @@ extern "C" {
4141
*/
4242
# define OPENSSL_VERSION_MAJOR 3
4343
# define OPENSSL_VERSION_MINOR 5
44-
# define OPENSSL_VERSION_PATCH 2
44+
# define OPENSSL_VERSION_PATCH 3
4545

4646
/*
4747
* Additional version information
@@ -86,33 +86,28 @@ extern "C" {
8686
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
8787
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
8888
*/
89-
# define OPENSSL_VERSION_STR "3.5.2"
90-
# define OPENSSL_FULL_VERSION_STR "3.5.2"
89+
# define OPENSSL_VERSION_STR "3.5.3"
90+
# define OPENSSL_FULL_VERSION_STR "3.5.3"
9191

9292
/*
9393
* SECTION 3: ADDITIONAL METADATA
9494
*
9595
* These strings are defined separately to allow them to be parsable.
9696
*/
97-
# define OPENSSL_RELEASE_DATE "5 Aug 2025"
97+
# define OPENSSL_RELEASE_DATE "16 Sep 2025"
9898

9999
/*
100100
* SECTION 4: BACKWARD COMPATIBILITY
101101
*/
102102

103-
# define OPENSSL_VERSION_TEXT "OpenSSL 3.5.2 5 Aug 2025"
103+
# define OPENSSL_VERSION_TEXT "OpenSSL 3.5.3 16 Sep 2025"
104104

105105
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
106-
# ifdef OPENSSL_VERSION_PRE_RELEASE
107-
# define _OPENSSL_VERSION_PRE_RELEASE 0x0L
108-
# else
109-
# define _OPENSSL_VERSION_PRE_RELEASE 0xfL
110-
# endif
111106
# define OPENSSL_VERSION_NUMBER \
112107
( (OPENSSL_VERSION_MAJOR<<28) \
113108
|(OPENSSL_VERSION_MINOR<<20) \
114109
|(OPENSSL_VERSION_PATCH<<4) \
115-
|_OPENSSL_VERSION_PRE_RELEASE )
110+
|0xfL )
116111

117112
# ifdef __cplusplus
118113
}

include/openssl/proverr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
# define PROV_R_FINAL_CALL_OUT_OF_ORDER 237
6262
# define PROV_R_FIPS_MODULE_CONDITIONAL_ERROR 227
6363
# define PROV_R_FIPS_MODULE_ENTERING_ERROR_STATE 224
64+
# define PROV_R_FIPS_MODULE_IMPORT_PCT_ERROR 253
6465
# define PROV_R_FIPS_MODULE_IN_ERROR_STATE 225
6566
# define PROV_R_GENERATE_ERROR 191
6667
# define PROV_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE 165

include/openssl/self_test.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ extern "C" {
4343
# define OSSL_SELF_TEST_TYPE_CRNG "Continuous_RNG_Test"
4444
# define OSSL_SELF_TEST_TYPE_PCT "Conditional_PCT"
4545
# define OSSL_SELF_TEST_TYPE_PCT_KAT "Conditional_KAT"
46+
# define OSSL_SELF_TEST_TYPE_PCT_IMPORT "Import_PCT"
4647
# define OSSL_SELF_TEST_TYPE_KAT_INTEGRITY "KAT_Integrity"
4748
# define OSSL_SELF_TEST_TYPE_KAT_CIPHER "KAT_Cipher"
4849
# define OSSL_SELF_TEST_TYPE_KAT_ASYM_CIPHER "KAT_AsymmetricCipher"

src/amisslmaster_library.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ LIBPROTO(OpenAmiSSL, struct Library *, REG(a6, UNUSED __BASE_OR_IFACE))
244244
// (https://wiki.openssl.org/index.php/OpenSSL_3.0#Versioning_Scheme) but we must
245245
// take care to prevent applications requiring newer API functions from loading
246246
// older libraries that do not contain those required entries
247-
if(LibAPIVersion <= AMISSL_V352 && OpenLib(&AmiSSLBase,"352") == NULL
247+
if(LibAPIVersion <= AMISSL_V353 && OpenLib(&AmiSSLBase,"353") == NULL
248+
&& OpenLib(&AmiSSLBase,"352") == NULL
248249
&& OpenLib(&AmiSSLBase,"351") == NULL
249250
&& OpenLib(&AmiSSLBase,"350") == NULL)
250251
if(LibAPIVersion <= AMISSL_V341 && OpenLib(&AmiSSLBase,"341") == NULL

0 commit comments

Comments
 (0)