[rt-commit] r151 - /redwax-tool/trunk/redwax_openssl.c
rt-commit at redwax.eu
rt-commit at redwax.eu
Tue Aug 22 23:52:21 CEST 2023
Author: minfrin at redwax.eu
Date: Tue Aug 22 23:52:21 2023
New Revision: 151
Log:
Remove shadowing of ASN1_TIME.
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 Tue Aug 22 23:52:21 2023
@@ -4405,7 +4405,8 @@
const ASN1_BIT_STRING *sig;
#endif
ASN1_INTEGER *bs;
- const ASN1_TIME *before, *after, *now = NULL;
+ const ASN1_TIME *before, *after;
+ ASN1_TIME *now = NULL;
const char *valid_status = NULL, *valid_warning = NULL, *valid_error = NULL;
long l;
@@ -4459,7 +4460,7 @@
}
if (r->verify_date) {
- ASN1_TIME *now = ASN1_TIME_new();
+ now = ASN1_TIME_new();
ASN1_TIME_set_string(now, r->verify_date);
ASN1_TIME_normalize(now);
}
More information about the rt-commit
mailing list