aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--netlib/certutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/certutils.py b/netlib/certutils.py
index 3effe610..1f61132e 100644
--- a/netlib/certutils.py
+++ b/netlib/certutils.py
@@ -45,7 +45,7 @@ def dummy_ca(path):
basename, _ = os.path.splitext(path)
basename = os.path.basename(basename)
else:
- basename = os.path.basename(basename)
+ basename = os.path.basename(path)
key, ca = create_ca()