OpenSSL 1.1.0 support
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 28 Jun 2016 21:26:59 +0000 (23:26 +0200)
committerJoshua Colp <jcolp@digium.com>
Thu, 1 Dec 2016 01:22:45 +0000 (01:22 +0000)
commit26c8552fff499419bdf12b663e76ecfc408b3085
tree69353feb47b0a11a4d8b3673b8beca40c9b07622
parentfdf4355bd054ce3a264f3d7a83725259b8acb32f
OpenSSL 1.1.0 support

OpenSSL 1.1.0 includes some major changes in the interface. See
https://wiki.openssl.org/index.php/1.1_API_Changes .

Status: Right now there are still a few deprecation notes with OpenSSL
1.1.0. But it's a start.

Changes:
* CRYPTO_LOCK is no longer available. Replace it with its value for now.
  I don't completely understand what it is used for there.
* Remove several functions from libasteriskssl that seem to no longer be
  needed.
* Structures have become opaque and are accesses with accessors.
* ERR_remove_thread_state() no longer needed.
* SSLv2 code now could no longer be used in 1.1.

ASTERISK-26109 #close

Change-Id: I5e29d477d486ca29b6aae0dc2f5dff960c1cb82b
main/iostream.c
main/libasteriskssl.c
main/tcptls.c