Codebase list sslscan / upstream/2.0.12
New upstream version 2.0.12 Sophie Brun 2 years ago
2 changed file(s) with 19 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
00 Changelog
11 =========
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
28 Version: 2.0.11
39 Date : 16/12/2021
410 Author : rbsec <[email protected]>
23182318 ASN1_TIME_print(stdoutBIO, X509_get_notBefore(x509Cert));
23192319 printf("%s", RESET);
23202320
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 }
23262334
23272335 printf("\nNot valid after: ");
23282336 timediff = X509_cmp_time(X509_get_notAfter(x509Cert), ptime);