Add TLS_ERROR_INVALID_ARGUMENT error code to libtls
authorjoshua <joshua@openbsd.org>
Wed, 27 Mar 2024 07:35:30 +0000 (07:35 +0000)
committerjoshua <joshua@openbsd.org>
Wed, 27 Mar 2024 07:35:30 +0000 (07:35 +0000)
commit2b31d1bda0fbdb74aa67d01ef8fd8bd7eb575edc
tree2b8c60dab66be1cd34da86b61f9f6c376eef39dc
parentfa916f67094ed5daff6d51f57ee750b3c3581a1a
Add TLS_ERROR_INVALID_ARGUMENT error code to libtls

This is an initial pass, defining the error code and using it for
"too long"/length-related errors.

ok beck jsing
lib/libtls/tls.c
lib/libtls/tls.h
lib/libtls/tls_config.c