The NSSDatabase.create_request() has been modified to remove
a superfluous argument when invoking certutil.

Pushed to master under one-liner/trivial rule.

--
Endi S. Dewata
>From 173fa749c02e489cb1257288bef7c3b42a4aa208 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <[email protected]>
Date: Thu, 6 Oct 2016 01:00:42 +0200
Subject: [PATCH] Fixed NSSDatabase.create_request().

The NSSDatabase.create_request() has been modified to remove
a superfluous argument when invoking certutil.
---
 base/common/python/pki/nssdb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/common/python/pki/nssdb.py b/base/common/python/pki/nssdb.py
index 736efcac3f4127658800bf549b7718a947cee8bd..c044ba1fba069a5b5e560319fe7a4c91a62934c5 100644
--- a/base/common/python/pki/nssdb.py
+++ b/base/common/python/pki/nssdb.py
@@ -237,7 +237,7 @@ class NSSDatabase(object):
 
             if basic_constraints_ext:
 
-                cmd.extend(['-2', hash_alg])
+                cmd.extend(['-2'])
 
                 # Is this a CA certificate [y/N]?
                 if basic_constraints_ext['ca']:
-- 
2.7.4

_______________________________________________
Pki-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pki-devel

Reply via email to