Re: [Openvpn-devel] [PATCH] mbedtls: improve error reporting in tls verify callback

2016-05-05 Thread Arne Schwabe
Am 03.05.16 um 22:14 schrieb Steffan Karger: > Instead of just printing the contents of the flags variable, try to > convert it to a human-readable error string and print that instead. > > This will for example print "The certificate is signed with an > unacceptable key (eg bad curve, RSA too shor

[Openvpn-devel] [PATCH] mbedtls: improve error reporting in tls verify callback

2016-05-03 Thread Steffan Karger
Instead of just printing the contents of the flags variable, try to convert it to a human-readable error string and print that instead. This will for example print "The certificate is signed with an unacceptable key (eg bad curve, RSA too short).", instead of "flags=1". Signed-off-by: Steffan