New upstream version 2.0.12
Sophie Brun
2 years ago
0 | 0 |
Changelog
|
1 | 1 |
=========
|
|
2 |
Version: 2.0.12
|
|
3 |
Date : 23/02/2022
|
|
4 |
Author : rbsec <[email protected]>
|
|
5 |
Changes: The following are a list of changes
|
|
6 |
> Add <not-yet-valid> XML element (credit lucacapacci)
|
|
7 |
|
2 | 8 |
Version: 2.0.11
|
3 | 9 |
Date : 16/12/2021
|
4 | 10 |
Author : rbsec <[email protected]>
|
2318 | 2318 |
ASN1_TIME_print(stdoutBIO, X509_get_notBefore(x509Cert));
|
2319 | 2319 |
printf("%s", RESET);
|
2320 | 2320 |
|
2321 | |
if (options->xmlOutput) {
|
2322 | |
printf_xml(" <not-valid-before>");
|
2323 | |
ASN1_TIME_print(fileBIO, X509_get_notBefore(x509Cert));
|
2324 | |
printf_xml("</not-valid-before>\n");
|
2325 | |
}
|
|
2321 |
if (options->xmlOutput) {
|
|
2322 |
printf_xml(" <not-valid-before>");
|
|
2323 |
ASN1_TIME_print(fileBIO, X509_get_notBefore(x509Cert));
|
|
2324 |
printf_xml("</not-valid-before>\n");
|
|
2325 |
if (timediff > 0)
|
|
2326 |
{
|
|
2327 |
printf_xml(" <not-yet-valid>true</not-yet-valid>\n");
|
|
2328 |
}
|
|
2329 |
else
|
|
2330 |
{
|
|
2331 |
printf_xml(" <not-yet-valid>false</not-yet-valid>\n");
|
|
2332 |
}
|
|
2333 |
}
|
2326 | 2334 |
|
2327 | 2335 |
printf("\nNot valid after: ");
|
2328 | 2336 |
timediff = X509_cmp_time(X509_get_notAfter(x509Cert), ptime);
|