Run correctly on OpenBSD systems without SSL_METHOD.get_cipher_by_char

Also, make sure we will compile correctly on systems where they
finally rip it out.

Fixes issue #13325.  Caused by this openbsd commit:

   ​http://marc.info/?l=openbsd-cvs&m=140768179627976&w=2

Reported by Fredzupy.
This commit is contained in:
Nick Mathewson
2014-10-03 12:15:09 -04:00
parent 0c3b3650aa
commit d1fa0163e5
3 changed files with 46 additions and 10 deletions
+4
View File
@@ -0,0 +1,4 @@
o Compilation fixes:
- Build and run correctly on systems like OpenBSD-current that
have patched OpenSSL to remove get_cipher_by_char and/or its
implementations. Fixes issue 13325.