]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
*** empty log message ***
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 8 May 2001 21:33:55 +0000 (21:33 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 8 May 2001 21:33:55 +0000 (21:33 +0000)
doc/API
lib/gnutls.h

diff --git a/doc/API b/doc/API
index 7d108a7c05815d99811de5c50f71bc033e429906..18b4eef2ffd752c44cd97d3421c87d920d9a90b2 100644 (file)
--- a/doc/API
+++ b/doc/API
@@ -100,7 +100,10 @@ int gnutls_set_kx_cred( GNUTLS_STATE state, int kx, void* cred, int cred_size);
        specified kx algorithm and on the current state (client or server).
        cred_size is the size of the structure.
 
-       In GNUTLS_KX_ANON cred should be NULL.
+       * For GNUTLS_KX_ANON cred should be NULL.
+       * For GNUTLS_KX_SRP cred should be SRP_CLIENT_CREDENTIALS
+        in case of a client, and SRP_SERVER_CREDENTIALS, in case
+        of a server.
 
 void gnutls_set_kx_priority( GNUTLS_STATE state, int num, ...);
        like gnutls_set_cipher_priority, but for key exchange methods.
index 70f72c52d0d57e5be35a2b1d8d731bc2a14176a1..22fd04dff86c7edb625aae347d586debb16610ca 100644 (file)
@@ -146,4 +146,11 @@ typedef struct {
 #define GNUTLS_E_DECOMPRESSION_FAILED -26
 #define GNUTLS_E_COMPRESSION_FAILED -27
 #define GNUTLS_E_AGAIN -28
+#define GNUTLS_E_EXPIRED -29
+#define GNUTLS_E_DB_ERROR -30
+#define GNUTLS_E_PWD_ERROR -31
+#define GNUTLS_E_INSUFICIENT_CRED -32
+#define GNUTLS_E_HASH_FAILED -33
+#define GNUTLS_E_PARSING_ERROR -34
+#define        GNUTLS_E_MPI_PRINT_FAILED -35
 #define GNUTLS_E_UNIMPLEMENTED_FEATURE -50