summaryrefslogtreecommitdiff
path: root/lib/gnutls_cert.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-11-02 08:41:43 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-11-02 08:41:43 +0000
commitdfa6f7f9054dd87642c38ff189b4f01d88c88a89 (patch)
tree3675be9cdb0ef4aeb678b31dbbcbb902bafbf911 /lib/gnutls_cert.c
parentd340158164411d7eef49550781dc147689864b89 (diff)
downloadgnutls-dfa6f7f9054dd87642c38ff189b4f01d88c88a89.tar.gz
Combined GNUTLS_E_INVALID_PARAMETERS wich GNUTLS_E_INVALID_REQUEST. Introduced GNUTLS_E_SHORT_MEMORY_BUFFER.
Diffstat (limited to 'lib/gnutls_cert.c')
-rw-r--r--lib/gnutls_cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c
index 9a46c61bee..308b775405 100644
--- a/lib/gnutls_cert.c
+++ b/lib/gnutls_cert.c
@@ -195,7 +195,7 @@ int _gnutls_cert_supported_kx(const gnutls_cert * cert, gnutls_kx_algorithm ** a
if (i==0) {
gnutls_assert();
- return GNUTLS_E_INVALID_PARAMETERS;
+ return GNUTLS_E_INVALID_REQUEST;
}
*alg = gnutls_calloc(1, sizeof(gnutls_kx_algorithm) * i);