You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crypto-policies/SOURCES/check_uexpected.patch

14 lines
1.2 KiB

diff --git a/python/build-crypto-policies.py b/python/build-crypto-policies.py
index 2eab19b..a00f1ba 100755
--- a/python/build-crypto-policies.py
+++ b/python/build-crypto-policies.py
@@ -71,6 +71,8 @@ def save_config(cmdline, policy_name, config_name, config):
#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')
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