diff options
author | tb <> | 2022-08-10 11:15:08 +0000 |
---|---|---|
committer | tb <> | 2022-08-10 11:15:08 +0000 |
commit | 59e7d7a474ef69602d2c336e05f4593856883a3b (patch) | |
tree | 08909fc6f12e70a0a853f695304765f6377ab7c3 /src/lib/libcrypto/dsa/dsa_gen.c | |
parent | 70837e3e4d47bc74e2f1c690564b3fcd50608ac4 (diff) | |
download | openbsd-59e7d7a474ef69602d2c336e05f4593856883a3b.tar.gz openbsd-59e7d7a474ef69602d2c336e05f4593856883a3b.tar.bz2 openbsd-59e7d7a474ef69602d2c336e05f4593856883a3b.zip |
Only print versions we know about
The version field of an X.509 Certificate is an enum
Version ::= INTEGER { v1(0), v2(1), v3(2) }
Printing the version as l + 1 only really makes sense with 0 <= l <= 2.
Otherwise print a naked l while also indicating that it is an unknown
version.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_gen.c')
0 files changed, 0 insertions, 0 deletions