Re: [Openvpn-devel] [PATCH v2] tls-crypt: introduce tls_crypt_kt()

2017-08-12 Thread Antonio Quartulli
Hi, On 12/08/17 17:53, Steffan Karger wrote: > Reduces code duplication (and prepares for tls-crypt-v2, which needs the > same functionality at more places). > > Because tls_crypt_kt() is a static function we now need to include > tls_crypt.c from the tests, rather than tls_crypt.h. > > Signed-o

[Openvpn-devel] [PATCH v2] tls-crypt: introduce tls_crypt_kt()

2017-08-12 Thread Steffan Karger
Reduces code duplication (and prepares for tls-crypt-v2, which needs the same functionality at more places). Because tls_crypt_kt() is a static function we now need to include tls_crypt.c from the tests, rather than tls_crypt.h. Signed-off-by: Steffan Karger --- v2: improve error handling src/