cmail icon indicating copy to clipboard operation
cmail copied to clipboard

Log proper gnutls error messages

Open cbdevnet opened this issue 8 years ago • 0 comments

Most error checks in https://github.com/cmail-mta/cmail/blob/master/lib/tls.c only print a generic error message.

Better/more helpful ones could be extracted by calling gnutls_strerror.

This should probably also be extended to most other gnutls_ calls (though there aren't that many that are not in the library file.

cbdevnet avatar Sep 14 '17 16:09 cbdevnet