removed dependancy on openssl