diff options
author | Timothy Pearson <[email protected]> | 2018-12-04 01:13:04 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2018-12-04 01:13:04 -0600 |
commit | dc2d6876ff791b1def33b7bd11b70ab938a2c7b6 (patch) | |
tree | b6d70861e73e135ff5b0dc542ff78ea873ed6f6f | |
parent | 123de33960f6667942a71bd73cc0b39d036415f6 (diff) | |
download | libtdeldap-dc2d6876ff791b1def33b7bd11b70ab938a2c7b6.tar.gz libtdeldap-dc2d6876ff791b1def33b7bd11b70ab938a2c7b6.zip |
Remove invalid specification of crlhours in CRL generator when crldays was already given
-rw-r--r-- | src/libtdeldap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp index fea7662..f0e5389 100644 --- a/src/libtdeldap.cpp +++ b/src/libtdeldap.cpp @@ -4711,7 +4711,7 @@ int LDAPManager::generatePKICRL(int expirydays, LDAPRealmConfig realmcfg, TQStri return -1; } - command = TQString("openssl ca -days %1 -crldays %2 -crlhours 0 -gencrl -out \"%3\" -config \"%4\"").arg(expirydays).arg(expirydays).arg(crl_certfile).arg(OPENSSL_EXTENSIONS_FILE); + command = TQString("openssl ca -days %1 -crldays %2 -gencrl -out \"%3\" -config \"%4\"").arg(expirydays).arg(expirydays).arg(crl_certfile).arg(OPENSSL_EXTENSIONS_FILE); if (system(command) < 0) { if (errstr) *errstr = TQString("Execution of \"%s\" failed").arg(command); return -1; @@ -4770,7 +4770,7 @@ int LDAPManager::generatePKICRL(int expirydays, LDAPRealmConfig realmcfg, TQStri } // Regenerate CRL certificate - command = TQString("openssl ca -days %1 -crldays %2 -crlhours 0 -gencrl -out \"%3\" -config \"%4\"").arg(expirydays).arg(expirydays).arg(crl_certfile).arg(OPENSSL_EXTENSIONS_FILE); + command = TQString("openssl ca -days %1 -crldays %2 -gencrl -out \"%3\" -config \"%4\"").arg(expirydays).arg(expirydays).arg(crl_certfile).arg(OPENSSL_EXTENSIONS_FILE); if (system(command) < 0) { if (errstr) *errstr = TQString("Execution of \"%s\" failed").arg(command); return -1; |