wolfCrypt version update, enabled pwdbased by default

pull/28/head
Daniele Lacamera 2022-01-04 19:08:18 +01:00
parent 9c57867f5e
commit 5da42db7a9
3 changed files with 10 additions and 6 deletions

View File

@ -24,7 +24,7 @@ __uri__ = "https://github.com/wolfssl/wolfcrypt-py"
# When bumping the C library version, reset the POST count to 0 # When bumping the C library version, reset the POST count to 0
__wolfssl_version__ = "v5.0.0-stable" __wolfssl_version__ = "v5.1.1-stable"
# We're using implicit post releases [PEP 440] to bump package version # We're using implicit post releases [PEP 440] to bump package version
# while maintaining the C library version intact for better reference. # while maintaining the C library version intact for better reference.
@ -32,16 +32,16 @@ __wolfssl_version__ = "v5.0.0-stable"
# #
# MAJOR.MINOR.BUILD-POST # MAJOR.MINOR.BUILD-POST
__version__ = "5.0.0-0" __version__ = "5.1.1-0"
__author__ = "wolfSSL Inc." __author__ = "wolfSSL Inc."
__email__ = "info@wolfssl.com" __email__ = "info@wolfssl.com"
__license__ = "GPLv2 or Commercial License" __license__ = "GPLv2 or Commercial License"
__copyright__ = "Copyright (C) 2006-2020 wolfSSL Inc" __copyright__ = "Copyright (C) 2006-2021 wolfSSL Inc"
__all__ = [ __all__ = [
"__title__", "__summary__", "__uri__", "__version__", "__title__", "__summary__", "__uri__", "__version__",
"__author__", "__email__", "__license__", "__copyright__", "__author__", "__email__", "__license__", "__copyright__",
"ciphers", "hashes", "random" "ciphers", "hashes", "random", "pwdbased"
] ]

View File

@ -65,7 +65,7 @@ ED25519_ENABLED = 1
ED448_ENABLED = 1 ED448_ENABLED = 1
KEYGEN_ENABLED = 1 KEYGEN_ENABLED = 1
CHACHA_ENABLED = 1 CHACHA_ENABLED = 1
PWDBASED_ENABLED = 0 PWDBASED_ENABLED = 1
FIPS_ENABLED = 0 FIPS_ENABLED = 0
FIPS_VERSION = 0 FIPS_VERSION = 0
ERROR_STRINGS_ENABLED = 1 ERROR_STRINGS_ENABLED = 1

View File

@ -132,7 +132,7 @@ def make_flags(prefix):
flags = [] flags = []
if get_platform() in ["linux-x86_64", "linux-i686"]: if get_platform() in ["linux-x86_64", "linux-i686"]:
flags.append("CFLAGS=-fpic") flags.append("CFLAGS=-fPIC")
# install location # install location
flags.append("--prefix={}".format(prefix)) flags.append("--prefix={}".format(prefix))
@ -170,6 +170,10 @@ def make_flags(prefix):
flags.append("--disable-dh") flags.append("--disable-dh")
# pwdbased
flags.append("--enable-pwdbased")
flags.append("--enable-pkcs7")
# disabling other configs enabled by default # disabling other configs enabled by default
flags.append("--disable-oldtls") flags.append("--disable-oldtls")
flags.append("--disable-oldnames") flags.append("--disable-oldnames")