pki: Remove unnecessary and problematic chunk_from_chars() usage in --signcrl

If the serial is not yet set, the same default value is set just below.

See 8ea13bbc5c for details on chunk_from_chars().

References #3249.
This commit is contained in:
Tobias Brunner
2020-01-30 18:18:14 +01:00
parent d5cf2d1f85
commit d16e810778
-4
View File
@@ -385,10 +385,6 @@ static int sign_crl()
}
else
{
if (!crl_serial.ptr)
{
crl_serial = chunk_from_chars(0x00);
}
lastenum = enumerator_create_empty();
}