Use incremented serial of base CRL when signing delta CRL
This commit is contained in:
1 parent
2e90006f96
commit
0110c26a04
1 file changed
+2
@@ -332,6 +332,8 @@ static int sign_crl()
|
||||
error = "loading base CRL failed";
|
||||
goto error;
|
||||
}
|
||||
memcpy(crl_serial, lastcrl->get_serial(lastcrl).ptr,
|
||||
min(lastcrl->get_serial(lastcrl).len, sizeof(crl_serial)));
|
||||
baseCrlNumber = chunk_clone(lastcrl->get_serial(lastcrl));
|
||||
DESTROY_IF((certificate_t*)lastcrl);
|
||||
lastcrl = NULL;
|
||||
|
||||
Reference in new issue
Block a user