[rs-commit] r534 - /mod_scep/trunk/openssl_setter_compat.h
rs-commit at redwax.eu
rs-commit at redwax.eu
Tue Mar 3 11:59:33 CET 2026
Author: minfrin at redwax.eu
Date: Tue Mar 3 11:59:32 2026
New Revision: 534
Log:
Remove unused refenece to X509_REQ_set1_signature.
Modified:
mod_scep/trunk/openssl_setter_compat.h
Modified: mod_scep/trunk/openssl_setter_compat.h
==============================================================================
--- mod_scep/trunk/openssl_setter_compat.h (original)
+++ mod_scep/trunk/openssl_setter_compat.h Tue Mar 3 11:59:32 2026
@@ -28,7 +28,6 @@
// openssl-1.1.1-dev (should not need it - post PR#10563).
//
/* #if OPENSSL_VERSION_NUMBER >= 0x010100000L && OPENSSL_VERSION_NUMBER <= 0x01010104fL */
-#if !HAVE_X509_REQ_SET1_SIGNATURE
#include "openssl/x509.h"
#if !HAVE_STRUCT_X509_REQ_INFO_ST_VERSION
@@ -55,18 +54,3 @@
# endif
};
#endif
-
-static void X509_REQ_set1_signature(X509_REQ *req, X509_ALGOR *palg)
-{
- if (req->sig_alg) {
- if (req->sig_alg->algorithm) {
- ASN1_OBJECT_free(req->sig_alg->algorithm);
- }
- if (req->sig_alg->parameter) {
- ASN1_TYPE_free(req->sig_alg->parameter);
- }
- }
- req->sig_alg = palg;
-}
-#define HAVE_X509_REQ_SET1_SIGNATURE 1
-#endif
More information about the rs-commit
mailing list