openssl: add OpenSSL 1.1.0-pre3-dev compatibility

by using API instead of accessing an internal structure.

Closes #83
1 file changed