[rs-commit] r102 - /redwax-tool/trunk/redwax_openssl.c

rs-commit at redwax.eu rs-commit at redwax.eu
Wed Dec 1 22:26:57 CET 2021


Author: minfrin at redwax.eu
Date: Wed Dec  1 22:26:57 2021
New Revision: 102

Log:
Handle const differences.

Modified:
    redwax-tool/trunk/redwax_openssl.c

Modified: redwax-tool/trunk/redwax_openssl.c
==============================================================================
--- redwax-tool/trunk/redwax_openssl.c	(original)
+++ redwax-tool/trunk/redwax_openssl.c	Wed Dec  1 22:26:57 2021
@@ -3151,8 +3151,16 @@
             const STACK_OF(X509_EXTENSION) *xe;
             const ASN1_BIT_STRING *iuid, *suid;
             X509_PUBKEY *xpkey;
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
+            X509_ALGOR *tsig_alg;
+#else
             const X509_ALGOR *tsig_alg;
+#endif
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
+            ASN1_BIT_STRING *sig;
+#else
             const ASN1_BIT_STRING *sig;
+#endif
             ASN1_INTEGER *bs;
             const ASN1_TIME *tm;
             long l;



More information about the rs-commit mailing list