summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-05-08 21:33:55 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-05-08 21:33:55 +0000
commit54259eb93720b1544ebbc53e32bf33b77188af36 (patch)
tree03b99381d7341d5f5ca406dcecb0e403fe321dc4
parent33fbc32d0b00c2321e83301acd2de6106c9737ef (diff)
downloadgnutls-54259eb93720b1544ebbc53e32bf33b77188af36.tar.gz
*** empty log message ***
-rw-r--r--doc/API5
-rw-r--r--lib/gnutls.h7
2 files changed, 11 insertions, 1 deletions
diff --git a/doc/API b/doc/API
index 7d108a7c05..18b4eef2ff 100644
--- 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.
diff --git a/lib/gnutls.h b/lib/gnutls.h
index 70f72c52d0..22fd04dff8 100644
--- a/lib/gnutls.h
+++ b/lib/gnutls.h
@@ -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