csrgen: Remove helper abstraction

All requests now use the OpenSSL formatter. However, we keep Formatter
a separate class so that it can be changed out for tests.

https://pagure.io/freeipa/issue/4899

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Ben Lipton
2017-03-21 12:21:30 -04:00
committed by Jan Cholasta
parent 6c092c24b2
commit 5420e9cfbe
17 changed files with 75 additions and 253 deletions

View File

@@ -106,7 +106,7 @@ class cert_get_requestdata(Local):
generator = CSRGenerator(FileRuleProvider())
script = generator.csr_script(
principal_obj, config, profile_id, helper)
principal_obj, config, profile_id)
result = {}
if 'out' in options: