[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 1a5240: [SqueakSSL/unix/openssl] Fix for OpenSSL3

Tobias Pape noreply at github.com
Sun Aug 28 17:17:56 UTC 2022

  Branch: refs/heads/virtend
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 1a5240be4df93c0bc1fe3f7618d3184fb400c6a3
  Author: Tobias Pape <tobias at netshed.de>
  Date:   2022-08-28 (Sun, 28 Aug 2022)

  Changed paths:
    M platforms/unix/plugins/SqueakSSL/openssl_overlay.h
    M platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.inc

  Log Message:
  [SqueakSSL/unix/openssl] Fix for OpenSSL3

OpenSSL 3 deprecated SSL_get_peer_certificate, made it a macro and an
provides SSL_get{0,1}_peer_certificate instead.

Why even more complicating that already messed API is beyond me.
Not promising ABI stability is well known for OpenSSL but, why the HECK
not simply providing an Alias Symbol instead of UNNECESSARILY ripping
the symbol out of that innocent object file?

Also, we now need a load-time disambiguation of which symbol to use.

(if you find a rant in this message, you can keep it)

More information about the Vm-dev mailing list