[rs-commit] r340 - /mod_scep/trunk/mod_scep.c

rs-commit at redwax.eu rs-commit at redwax.eu
Thu Mar 19 21:09:53 CET 2020


Author: minfrin at redwax.eu
Date: Thu Mar 19 21:09:51 2020
New Revision: 340

Log:
Remove dead code.

https://jira.redwax.eu/browse/REDWAX-76

Modified:
    mod_scep/trunk/mod_scep.c

Modified: mod_scep/trunk/mod_scep.c
==============================================================================
--- mod_scep/trunk/mod_scep.c	(original)
+++ mod_scep/trunk/mod_scep.c	Thu Mar 19 21:09:51 2020
@@ -1591,23 +1591,6 @@
     }
     PKCS7_set_type(p7, NID_pkcs7_signed);
     PKCS7_content_new(p7, NID_pkcs7_data);
-
-    /* if a successful CertRep, return the certificate chain */
-//    if (rscep->messageType == SCEP_MESSAGETYPE_CERTREP
-//            && rscep->pkiStatus == SCEP_PKISTATUS_SUCCESS && rscep->cert) {
-//        if (!PKCS7_add_certificate(p7s, rscep->cert)) {
-//            log_message(r, APR_SUCCESS,
-//                    "could not add the signed certificate to the signed PKCS7 response");
-//
-//            return HTTP_BAD_REQUEST;
-//        }
-//        if (!PKCS7_add_certificate(p7s, conf->signer)) {
-//            log_message(r, APR_SUCCESS,
-//                    "could not add the CA certificate to the signed PKCS7 response");
-//
-//            return HTTP_BAD_REQUEST;
-//        }
-//    }
 
     si = PKCS7_add_signature(p7, conf->signer, conf->key, EVP_sha256());
     if (!si) {



More information about the rs-commit mailing list