translate between gnutls/openssl