summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bn/bn_exp.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-08-10 11:15:09 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-08-10 11:15:09 +0000
commit1d43dcc83aec5f33219f55c8d8be9557647c154f (patch)
tree80947b3a3f6103457f123f1590955d08ee957a61 /lib/libcrypto/bn/bn_exp.c
parent08e825d78a3a8ec61eb0590c8a43dd4dfed4d8e2 (diff)
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 'lib/libcrypto/bn/bn_exp.c')
0 files changed, 0 insertions, 0 deletions