parent
3657dfb292
commit
4fddb12622
@ -1 +1 @@
|
||||
7b2c7705996b7c988b1fa4852da8e14656326979 SOURCES/crypto-policies-gitb972148.tar.gz
|
||||
61d1e62750bb43415038892681dd29637832ee4d SOURCES/crypto-policies-git283706d.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
SOURCES/crypto-policies-gitb972148.tar.gz
|
||||
SOURCES/crypto-policies-git283706d.tar.gz
|
||||
|
@ -1,33 +0,0 @@
|
||||
diff --git a/python/build-crypto-policies.py b/python/build-crypto-policies.py
|
||||
index 2eab19b..767209b 100755
|
||||
--- a/python/build-crypto-policies.py
|
||||
+++ b/python/build-crypto-policies.py
|
||||
@@ -66,11 +66,12 @@ def save_config(cmdline, policy_name, config_name, config):
|
||||
with open(path, mode='r', encoding='utf-8') as f:
|
||||
old_config = f.read()
|
||||
if '[gost_section]' in old_config:
|
||||
- arch, links = platform.architecture()
|
||||
- if arch == '32bit':
|
||||
- #Make test expected file same for x86 and x86_64 systems
|
||||
- old_config = old_config.replace('dynamic_path = /usr/lib/engines-3/gost.so', 'dynamic_path = /usr/lib64/engines-3/gost.so')
|
||||
+ #Make test expected file same for x86 and x86_64 systems
|
||||
+ old_config = old_config.replace('dynamic_path = /usr/lib/engines-3/gost.so', 'dynamic_path = /usr/lib64/engines-3/gost.so')
|
||||
+ print('Replace of GOST done')
|
||||
if old_config != config:
|
||||
+ print ("------------------------------------------------------------expected----------------------------------------------\n%s------------------------------------------------------------expected----------------------------------------------\n" % old_config)
|
||||
+ print ("------------------------------------------------------------got----------------------------------------------\n%s------------------------------------------------------------expected----------------------------------------------\n" % config)
|
||||
eprint(f'Config for {config_name} for policy {policy_name} '
|
||||
'differs from the existing one')
|
||||
return False
|
||||
diff --git a/python/policygenerators/openssl.py b/python/policygenerators/openssl.py
|
||||
index 75940d8..6d97ff3 100644
|
||||
--- a/python/policygenerators/openssl.py
|
||||
+++ b/python/policygenerators/openssl.py
|
||||
@@ -27,6 +27,7 @@ arch, links = platform.architecture()
|
||||
library_path = '64'
|
||||
if arch == '32bit':
|
||||
library_path = ''
|
||||
+print("I got such arch: %s" % arch)
|
||||
|
||||
GOST_MODULE_ENABLE = '''
|
||||
[openssl_init]
|
Loading…
Reference in new issue