Changeset: f62475869068 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/f62475869068
Modified Files:
clients/mapilib/connect_openssl.c
Branch: monetdburl
Log Message:
OpenSSL 1.1.1 has no ERR_SYSTEM_ERROR
diffs (17 lines):
diff --git a/clients/mapilib/connect_openssl.c
b/clients/mapilib/connect_openssl.c
--- a/clients/mapilib/connect_openssl.c
+++ b/clients/mapilib/connect_openssl.c
@@ -24,9 +24,12 @@ croak(Mapi mid, const char *action, cons
unsigned long err = ERR_get_error();
const char *errmsg =
+#ifdef ERR_SYSTEM_ERROR
ERR_SYSTEM_ERROR(err)
? strerror(ERR_GET_REASON(err))
- : ERR_reason_error_string(err);
+ :
+#endif
+ ERR_reason_error_string(err);
if (errmsg)
return mapi_printError(mid, action, MERROR, "TLS error: %s:
%s", buffer, errmsg);
else if (err != 0)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]