[rs-commit] r246 - in /mod_csr/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:01 CET 2020


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

Log:
Correct the name of the structure member.

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

Modified: mod_csr/trunk/config.h.in
==============================================================================
--- mod_csr/trunk/config.h.in	(original)
+++ mod_csr/trunk/config.h.in	Sun Jan  5 01:21:00 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_csr/trunk/configure
==============================================================================
--- mod_csr/trunk/configure	(original)
+++ mod_csr/trunk/configure	Sun Jan  5 01:21:00 2020
@@ -4928,15 +4928,15 @@
 
 
 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_fn_c_check_member "$LINENO" "struct X509_req_info_st" "version" "ac_cv_member_struct_X509_req_info_st_version" "
 $ac_includes_default
 #include <openssl/x509.h>
 
 "
-if test "x$ac_cv_member_struct_X509_req_info_st_st_blksize" = xyes; then :
+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_csr/trunk/configure.ac
==============================================================================
--- mod_csr/trunk/configure.ac	(original)
+++ mod_csr/trunk/configure.ac	Sun Jan  5 01:21:00 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], [], [], [
 AC_INCLUDES_DEFAULT
 #include <openssl/x509.h>
 ])

Modified: mod_csr/trunk/openssl_setter_compat.h
==============================================================================
--- mod_csr/trunk/openssl_setter_compat.h	(original)
+++ mod_csr/trunk/openssl_setter_compat.h	Sun Jan  5 01:21:00 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