diff options
author | jsing <> | 2015-02-12 04:35:17 +0000 |
---|---|---|
committer | jsing <> | 2015-02-12 04:35:17 +0000 |
commit | 08768c561dc33fd5f2890164882d7695d56d4af2 (patch) | |
tree | 7164ebd8d1579088586c09f6eabd205585445338 /src/lib/libc/stdlib/getopt_long.c | |
parent | 8ff26383d21735e1cd80fe56b526ce34588b5d0b (diff) | |
download | openbsd-08768c561dc33fd5f2890164882d7695d56d4af2.tar.gz openbsd-08768c561dc33fd5f2890164882d7695d56d4af2.tar.bz2 openbsd-08768c561dc33fd5f2890164882d7695d56d4af2.zip |
Add a tls_config_parse_protocols() function that allows a protocols string
to be converted into a libtls protocols value. This allows for things like:
"tlsv1.0,tlsv1.1" (TLSv1.0 and TLSv1.1)
"all,!tlsv1.0" (all protocols except TLSv1.0)
Discussed with tedu@ and reyk@
Diffstat (limited to 'src/lib/libc/stdlib/getopt_long.c')
0 files changed, 0 insertions, 0 deletions