tls/openssl: improve logging
Log error names and codes to increase verbosity in debug mode.
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
|
||||
#include "ostypes.h"
|
||||
|
||||
#ifndef ARRAY_SIZE
|
||||
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
#endif /* ARRAY_SIZE */
|
||||
|
||||
/* TODO evaluate x and y only once */
|
||||
#define xmpp_min(x, y) ((x) < (y) ? (x) : (y))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user