Lazarus 2.2.4 with FPC 3.2.2 on macOS raises ERangeError after update to revision 266.
ssl_openssl_lib.pas line 1927 should be
function GetLibFileName(Handle: TLibHandle): string;
instead of
function GetLibFileName(Handle: THandle): string;
THandle is incorrect type in function declaration.
This is almost the same problem as I reported in tickets #42 and #56