pki: Use serial of base CRL for delta CRLs

According to RFC 5280 delta CRLs and complete CRLs MUST share one
numbering sequence.
This commit is contained in:
Tobias Brunner
2016-10-11 17:18:22 +02:00
committed by Andreas Steffen
parent c72c6e9225
commit 49d9266c31
+4 -1
View File
@@ -369,7 +369,10 @@ static int sign_crl()
}
else
{
crl_serial = chunk_from_chars(0x00);
if (!crl_serial.ptr)
{
crl_serial = chunk_from_chars(0x00);
}
lastenum = enumerator_create_empty();
}