BenMenking / routeros-api

Client API for RouterOS/Mikrotik
336 stars 272 forks source link

openssl 1.1.0 #39

Open eduardomazolini opened 5 years ago

eduardomazolini commented 5 years ago

https://github.com/openssl/openssl/issues/8408 Change code for use ADH on new openssl. But bug if use on old versions.

$context = stream_context_create(array('ssl' => array('ciphers' => 'ADH:ALL:@SECLEVEL=0', 'verify_peer' => false, 'verify_peer_name' => false)));

BenMenking commented 5 years ago

Since we want to maintain backwards compatibility (as much as possible), I don't think we want to make this change? Anybody else care to comment on this?

scottchiefbaker commented 5 years ago

I support moving forward and requiring new versions of SSL. Perhaps we can use a check to support the old version, but throw an E_USER_DEPRECATED warning.