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-03 12:10:40 +02:00 committed by Andreas Steffen
parent c72c6e9225
commit 49d9266c31
1 changed files with 4 additions and 1 deletions

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();
}