Bump to version 5.4.0

Also move out some things that are now in wolfSSL CMake.
pull/47/head v5.4.0-stable
Andrew Hutchings 2022-07-13 14:07:54 +01:00 committed by Daniele Lacamera
parent 9a5852b48f
commit cdb28a314b
3 changed files with 10 additions and 12 deletions

@ -1 +1 @@
Subproject commit e722c15be860794179082a05d09e6a90dc77ccf0
Subproject commit 57aac1c50b45275c7a99eca32ad985998b292dc8

View File

@ -170,8 +170,10 @@ def make_flags(prefix):
flags.append("-DWOLFSSL_OLD_NAMES=no")
flags.append("-DWOLFSSL_EXTENDED_MASTER=no")
flags.append("-DWOLFSSL_ERROR_STRINGS=no")
flags.append("-DWOLFSSL_KEYGEN=yes")
flags.append("-DWOLFSSL_AESCTR=yes")
# Part of hack for missing CMake option
flags.append("-DCMAKE_C_FLAGS=\"/DWOLFSSL_KEY_GEN=1 /DWOLFCRYPT_ONLY=1 /DWOLFSSL_AESGCM_STREAM=1 /DWOLFSSL_AES_COUNTER=1\"")
flags.append("-DCMAKE_C_FLAGS=\"/DWOLFCRYPT_ONLY=1 /DWOLFSSL_AESGCM_STREAM=1\"")
return " ".join(flags)
else:
@ -239,14 +241,10 @@ def cmake_hack():
with open(options_file, "r") as f:
contents = f.readlines()
contents.insert(26, "#undef WOLFSSL_KEY_GEN\n")
contents.insert(27, "#define WOLFSSL_KEY_GEN\n")
contents.insert(28, "#undef WOLFCRYPT_ONLY\n")
contents.insert(29, "#define WOLFCRYPT_ONLY\n")
contents.insert(30, "#undef WOLFSSL_AESGCM_STREAM\n")
contents.insert(31, "#define WOLFSSL_AESGCM_STREAM\n")
contents.insert(32, "#undef WOLFSSL_AES_COUNTER\n")
contents.insert(33, "#define WOLFSSL_AES_COUNTER\n")
contents.insert(26, "#undef WOLFCRYPT_ONLY\n")
contents.insert(27, "#define WOLFCRYPT_ONLY\n")
contents.insert(28, "#undef WOLFSSL_AESGCM_STREAM\n")
contents.insert(29, "#define WOLFSSL_AESGCM_STREAM\n")
with open(options_file, "w") as f:
contents = "".join(contents)

View File

@ -1,6 +1,6 @@
# When bumping the C library version, reset the POST count to 0
__wolfssl_version__ = "v5.3.0-stable"
__wolfssl_version__ = "v5.4.0-stable"
# We're using implicit post releases [PEP 440] to bump package version
# while maintaining the C library version intact for better reference.
@ -8,5 +8,5 @@ __wolfssl_version__ = "v5.3.0-stable"
#
# MAJOR.MINOR.BUILD-POST
__version__ = "5.3.0-0"
__version__ = "5.4.0-0"