aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorPetr Svenda2020-10-18 10:52:50 +0200
committerPetr Svenda2020-10-18 10:52:50 +0200
commit564b5299c14d892db1c8010b445750c5bbc73ea7 (patch)
tree9db33522ab014d5aa45dfdbd03a9ab023bfad893 /src
parentc957feee5ac9d9d85fc858f0a174515ff0f8ba7a (diff)
downloadsec-certs-564b5299c14d892db1c8010b445750c5bbc73ea7.tar.gz
sec-certs-564b5299c14d892db1c8010b445750c5bbc73ea7.tar.zst
sec-certs-564b5299c14d892db1c8010b445750c5bbc73ea7.zip
fixed bug causing incorrect pairing of keywords pairing
Diffstat (limited to 'src')
-rw-r--r--src/extract_certificates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extract_certificates.py b/src/extract_certificates.py
index 1c08b75c..e703e599 100644
--- a/src/extract_certificates.py
+++ b/src/extract_certificates.py
@@ -1128,7 +1128,7 @@ def extract_certificates_keywords(walk_dir, fragments_dir, file_prefix, write_ou
file_cert_name = os.path.splitext(
os.path.splitext(os.path.basename(file_name))[0])[0]
# parse certificate, return all matches
- all_items_found[file_cert_name], modified_cert_file = parse_cert_file(
+ all_items_found[file_name], modified_cert_file = parse_cert_file(
file_name, fips_rules if fips_items else rules, -1, should_censure_right_away=should_censure_right_away,
fips_items=fips_items)