File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,13 +177,13 @@ func emitOpenSsl(thisX509CertsWithRevocations []tX509CertificateProvisionerRevoc
177
177
revokedAt = ""
178
178
}
179
179
180
- fmt .Printf ("%s\t %s\t %s\t %039X \t %s\t %s\n " ,
180
+ fmt .Printf ("%s\t %s\t %s\t %040X \t %s\t %s\n " ,
181
181
x509CertWithRevocation .Validity [0 :1 ],
182
182
regexp .MustCompile (`[-T:]+` ).
183
183
ReplaceAllString (x509CertWithRevocation .X509Certificate .NotAfter .UTC ().
184
184
Format (time .RFC3339 ), "" )[2 :], // Construct NotAfter string in compliance with specification.
185
185
revokedAt ,
186
- x509CertWithRevocation .X509Certificate .SerialNumber , // len(HEX)=39
186
+ x509CertWithRevocation .X509Certificate .SerialNumber , // len(HEX(20bytes))=40chars [FF/byte]
187
187
"unknown" , // As per specification.
188
188
x509CertWithRevocation .X509Certificate .Subject )
189
189
}
You can’t perform that action at this time.
0 commit comments