[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] ea5794: openssl: Fix compability with OpenSSL 1.1 as used ...

GitHub noreply at github.com
Fri Nov 24 08:51:08 UTC 2017


  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: ea5794b715dcae7db5116e5cdc70813a93061c7f
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/ea5794b715dcae7db5116e5cdc70813a93061c7f
  Author: Holger Hans Peter Freyther <holger at moiji-mobile.com>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.c

  Log Message:
  -----------
  openssl: Fix compability with OpenSSL 1.1 as used by debian

Norbert reported that a build for Debian9 fails to open outgoing
TLS connections. In OpenSSL the semantic of BIO_write for zero
sized writes has been changed. Do not attempt to write if the
length is zero. Check for the length before calling BIO_write.

I have updated the outgoing connection code and updated the
incoming connection one as well (didn't manually test it though)
and left the decrypt routine as is.

The Pharo testcase:
./products/phcogspurlinuxht/pharo ~/Pharo-60520.image eval "ZnEasy getPng: 'https://pharo.org/files/pharo.png'"

OpenSSL-issue: https://github.com/openssl/openssl/issues/4782


  Commit: 834da7852235b8739f05fbf1e30506fd40e5a3bf
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/834da7852235b8739f05fbf1e30506fd40e5a3bf
  Author: Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>
  Date:   2017-11-24 (Fri, 24 Nov 2017)

  Changed paths:
    M platforms/unix/plugins/SqueakSSL/sqUnixOpenSSL.c

  Log Message:
  -----------
  Merge pull request #174 from zecke/openssl-1.2

openssl: Fix compability with OpenSSL 1.1 as used by debian


Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/21ad7cb6b78a...834da7852235


More information about the Vm-dev mailing list