diff options
| author | tb <> | 2025-11-21 08:25:43 +0000 |
|---|---|---|
| committer | tb <> | 2025-11-21 08:25:43 +0000 |
| commit | c1cd9b31174d2c148f5a1dedde49f456a97398d4 (patch) | |
| tree | 17604bec3221ec972ca91978a97d52f37f9ac1bf /src/usr.bin/openssl/req.c | |
| parent | 507dc2007ce25f8363937e871b5ee06179163114 (diff) | |
| download | openbsd-c1cd9b31174d2c148f5a1dedde49f456a97398d4.tar.gz openbsd-c1cd9b31174d2c148f5a1dedde49f456a97398d4.tar.bz2 openbsd-c1cd9b31174d2c148f5a1dedde49f456a97398d4.zip | |
openssl ts: simplify create_nonce()
Just your average dumb TS code. Instead of handrolling a random ASN.1
integer generator, we can use BN_rand() and convert the resulting bn to
an ASN1_INTEGER. All this then also works without reaching into ASN1_STRING.
ok kenjiro
Diffstat (limited to 'src/usr.bin/openssl/req.c')
0 files changed, 0 insertions, 0 deletions
