--- a/src/lib/BasicASN1Reader.h Sun Jul 04 11:51:13 2021 +0200
+++ b/src/lib/BasicASN1Reader.h Mon Jul 05 19:31:25 2021 +0200
@@ -211,7 +211,8 @@
dateTime.hour = std::stoi(match[i++]);
dateTime.minute = std::stoi(match[i++]);
dateTime.precision = match[i].length() ? ASN1ContentHandler::DateTime::Precision::Second : ASN1ContentHandler::DateTime::Precision::Minute;
- dateTime.second = match[i].length() ? std::stoi(match[i++]) : 0;
+ dateTime.second = match[i].length() ? std::stoi(match[i]) : 0;
+ i++;
if (match[i++] != "Z") {
dateTime.timezoneHour = std::stoi(match[i++]);
dateTime.timezoneMinute = std::stoi(match[i++]);