summaryrefslogtreecommitdiff
path: root/sockets.h
diff options
context:
space:
mode:
Diffstat (limited to 'sockets.h')
-rw-r--r--sockets.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sockets.h b/sockets.h
index c1d74c7..4fb6c20 100644
--- a/sockets.h
+++ b/sockets.h
@@ -68,4 +68,7 @@ int sockread(SSL *fd, char *buf, int bufsize, int tls);
// Write to a socket, whether or not using TLS
int socksend(SSL *fd, char *buf, int bufsize, int tls);
+// Return character array of latest OpenSSL error
+char *openssl_error_string();
+
#endif