diff options
Diffstat (limited to 'lib/ext')
-rw-r--r-- | lib/ext/signature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/signature.c b/lib/ext/signature.c index 29a208e367..354790b5d3 100644 --- a/lib/ext/signature.c +++ b/lib/ext/signature.c @@ -268,7 +268,7 @@ _gnutls_session_get_sign_algo(gnutls_session_t session, unsigned int cert_algo; if (unlikely(ver == NULL)) - return gnutls_assert_val(GNUTLS_E_INTERNAL_ERROR); + return gnutls_assert_val(GNUTLS_SIGN_UNKNOWN); cert_algo = gnutls_pubkey_get_pk_algorithm(cert->pubkey, NULL); |