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

Tobias Pape noreply at github.com
Wed May 25 09:46:59 UTC 2022

  Branch: refs/heads/krono/ssl-on-jammy-stuff
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: dd435c87a9e39d77536969be0c64a364cfd58ea2
  Author: Tobias Pape <tobias at netshed.de>
  Date:   2022-05-25 (Wed, 25 May 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