Openssl fix deprecation warnings
Removed unused function: X509_SIG_getm
deprecated warnings for:
ASN1_STRING_data
DSA_generate_parameters
RSA_generate_key
RAND_pseudo_bytes
Tested with openssl-1.0.2l on ubuntu:14.04
Deprecation warning spotted with openssl-1.1.0.g-1
one deprecation warning left: TLSv1_client_method