[rs-commit] r247 - in /mod_scep/trunk: config.h.in configure configure.ac openssl_setter_compat.h

rs-commit at redwax.eu rs-commit at redwax.eu
Sun Jan 5 01:21:45 CET 2020


Author: minfrin at redwax.eu
Date: Sun Jan  5 01:21:44 2020
New Revision: 247

Log:
Correct the name of the structure member.

Modified:
    mod_scep/trunk/config.h.in
    mod_scep/trunk/configure
    mod_scep/trunk/configure.ac
    mod_scep/trunk/openssl_setter_compat.h

Modified: mod_scep/trunk/config.h.in
==============================================================================
--- mod_scep/trunk/config.h.in	(original)
+++ mod_scep/trunk/config.h.in	Sun Jan  5 01:21:44 2020
@@ -21,8 +21,8 @@
 /* Define to 1 if you have the <string.h> header file. */
 #undef HAVE_STRING_H
 
-/* Define to 1 if `st_blksize' is a member of `struct X509_req_info_st'. */
-#undef HAVE_STRUCT_X509_REQ_INFO_ST_ST_BLKSIZE
+/* Define to 1 if `version' is a member of `struct X509_req_info_st'. */
+#undef HAVE_STRUCT_X509_REQ_INFO_ST_VERSION
 
 /* Define to 1 if `sig_alg' is a member of `struct X509_req_st'. */
 #undef HAVE_STRUCT_X509_REQ_ST_SIG_ALG

Modified: mod_scep/trunk/configure
==============================================================================
--- mod_scep/trunk/configure	(original)
+++ mod_scep/trunk/configure	Sun Jan  5 01:21:44 2020
@@ -4924,11 +4924,11 @@
 
 
 fi
-ac_fn_c_check_member "$LINENO" "struct X509_req_info_st" "st_blksize" "ac_cv_member_struct_X509_req_info_st_st_blksize" "$ac_includes_default"
-if test "x$ac_cv_member_struct_X509_req_info_st_st_blksize" = xyes; then :
+ac_fn_c_check_member "$LINENO" "struct X509_req_info_st" "version" "ac_cv_member_struct_X509_req_info_st_version" "$ac_includes_default"
+if test "x$ac_cv_member_struct_X509_req_info_st_version" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
-#define HAVE_STRUCT_X509_REQ_INFO_ST_ST_BLKSIZE 1
+#define HAVE_STRUCT_X509_REQ_INFO_ST_VERSION 1
 _ACEOF
 
 

Modified: mod_scep/trunk/configure.ac
==============================================================================
--- mod_scep/trunk/configure.ac	(original)
+++ mod_scep/trunk/configure.ac	Sun Jan  5 01:21:44 2020
@@ -58,7 +58,7 @@
 AC_CHECK_HEADERS([mod_ca.h])
 
 # Checks for typedefs, structures, and compiler characteristics.
-AC_CHECK_MEMBERS([struct X509_req_st.sig_alg, struct X509_req_info_st.st_blksize])
+AC_CHECK_MEMBERS([struct X509_req_st.sig_alg, struct X509_req_info_st.version])
 
 # Checks for library functions.
 AC_CHECK_FUNCS([X509_REQ_get0_signature X509_REQ_set1_signature])

Modified: mod_scep/trunk/openssl_setter_compat.h
==============================================================================
--- mod_scep/trunk/openssl_setter_compat.h	(original)
+++ mod_scep/trunk/openssl_setter_compat.h	Sun Jan  5 01:21:44 2020
@@ -31,7 +31,7 @@
 #if !HAVE_X509_REQ_SET1_SIGNATURE
 #include "openssl/x509.h"
 
-#if !HAVE_STRUCT_X509_REQ_INFO_ST_ST_BLKSIZE
+#if !HAVE_STRUCT_X509_REQ_INFO_ST_VERSION
 struct X509_req_info_st {
     ASN1_ENCODING enc;          
     ASN1_INTEGER *version;     



More information about the rs-commit mailing list