summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authorjsing <>2014-07-12 19:45:53 +0000
committerjsing <>2014-07-12 19:45:53 +0000
commitca5656e7eced6ebea522071e6d0734cccfb29497 (patch)
tree9a0b39938bd33545c973591ba4438760ac1fb329 /src/lib/libssl/ssl_ciph.c
parentc384aa261abeb17e20d0dce22cd64e0ba9fcc112 (diff)
downloadopenbsd-ca5656e7eced6ebea522071e6d0734cccfb29497.tar.gz
openbsd-ca5656e7eced6ebea522071e6d0734cccfb29497.tar.bz2
openbsd-ca5656e7eced6ebea522071e6d0734cccfb29497.zip
Provide ssl_version_string() function, which uses one of those modern C
constructs (a switch statement) and returns the appropriate string defined by SSL_TXT_* for the given version, including support for DTLSv1 and DTLSv1-bad. Use this function in SSL_get_version() and SSL_SESSION_print(). ok beck@
Diffstat (limited to 'src/lib/libssl/ssl_ciph.c')
0 files changed, 0 insertions, 0 deletions