Merge branch 'TinCanTech-move-rand-serial-file'

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2023-02-21 22:04:02 +00:00
commit d35e288700
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,7 @@
Easy-RSA 3 ChangeLog
3.1.3 (ETA: 2023-10-13)
* Only create a random serial number file when expected (#896)
* Option --fix-offset: Adjust off-by-one day (#847)
3.1.2 (2023-01-13)

View File

@ -1765,12 +1765,12 @@ sign_req() {
sign_req - Randomize Serial number failed:
$check_serial"
fi
# Print random $serial to pki/serial file
# for use by SSL config
print "$serial" > "$EASYRSA_PKI/serial" || \
die "sign_req - write serial to file"
# Print random $serial to pki/serial file
# for use by SSL config
print "$serial" > "$EASYRSA_PKI/serial" || \
die "sign_req - write serial to file"
fi
verify_ca_init