summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_lib.c
diff options
context:
space:
mode:
authortb <>2022-08-10 11:15:08 +0000
committertb <>2022-08-10 11:15:08 +0000
commit59e7d7a474ef69602d2c336e05f4593856883a3b (patch)
tree08909fc6f12e70a0a853f695304765f6377ab7c3 /src/lib/libcrypto/dsa/dsa_lib.c
parent70837e3e4d47bc74e2f1c690564b3fcd50608ac4 (diff)
downloadopenbsd-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_lib.c')
0 files changed, 0 insertions, 0 deletions