[wanproxy/wanproxy] 76ca6c: Fix bug #18; adjust for OpenSSL 1.1.0+ opaque stru...

Juli Mallett juli at clockworksquid.com
Sun Feb 11 23:56:46 PST 2018


  Branch: refs/heads/master
  Home:   https://github.com/wanproxy/wanproxy
  Commit: 76ca6cc15d8dd87f2bad7e56c935b8dfb765ae68
      https://github.com/wanproxy/wanproxy/commit/76ca6cc15d8dd87f2bad7e56c935b8dfb765ae68
  Author: Juli Mallett <juli at clockworksquid.com>
  Date:   2018-02-11 (Sun, 11 Feb 2018)

  Changed paths:
    M crypto/crypto_encryption_openssl.cc
    M ssh/ssh_key_exchange.cc
    M ssh/ssh_server_host_key.cc

  Log Message:
  -----------
  Fix bug #18; adjust for OpenSSL 1.1.0+ opaque structures.

OpenSSL has finally decided that struct fields aren't a very good API, and
there are new APIs to replace code that worked with DH, RSA, and other
structures.  Unfortunately, those accessors did not exist before the structures
were made opaque, so there has to be conditional code to handle the old and new
cases side by side.

While here, use OpenSSL AES-CTR support when present.

It is recommended that correct operation of the SSH mode be verified with
either version of OpenSSL.




More information about the wanproxy mailing list