From 9ab7842c81e8b34cd99d5f3e8e98282729d85344 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 11 Jul 2012 11:09:41 +0200 Subject: [PATCH] fix relative certdir --- netlib/certutils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netlib/certutils.py b/netlib/certutils.py index dcd540538..3effe610d 100644 --- a/netlib/certutils.py +++ b/netlib/certutils.py @@ -43,8 +43,9 @@ def dummy_ca(path): os.makedirs(dirname) if path.endswith(".pem"): basename, _ = os.path.splitext(path) + basename = os.path.basename(basename) else: - basename = path + basename = os.path.basename(basename) key, ca = create_ca()