summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--doc/tex/Makefile.am6
-rw-r--r--doc/tex/serv1.tex11
-rw-r--r--lib/gnutls_global.c7
-rw-r--r--lib/gnutls_int.h3
5 files changed, 14 insertions, 17 deletions
diff --git a/NEWS b/NEWS
index 3c94b01912..8bdc7b7590 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-Version 0.1.9
+Version 0.1.9 (30/07/2001)
- Corrected bug(s) in ChangeCipherSpec packet (fixes renegotiate)
- SRP is updated to conform to the newest draft.
- Added support for DNSNAME extension.
@@ -7,7 +7,7 @@ Version 0.1.9
- (Error) message handling has changed
- Better Protocol Version handling
- Added x509 Certificate Verification
-- gnutls_read() semantics are now closer to read(2)
+- gnutls_read() semantics are now closer to read(2) - added EOF
- Documentated some part of gnutls in doc/tex/ using Latex
Version 0.1.4 (22/06/2001)
diff --git a/doc/tex/Makefile.am b/doc/tex/Makefile.am
index b6e1e068ef..0baadbd2fb 100644
--- a/doc/tex/Makefile.am
+++ b/doc/tex/Makefile.am
@@ -8,8 +8,8 @@ gnutls-api.tex:
@echo "\\section{Function Reference}" >> gnutls-api.tex
@../scripts/gdoc -tex ../../lib/*.c >> gnutls-api.tex
-gnutls.ps: gnutls.tex gnutls-api.tex
+gnutls.ps: gnutls.tex gnutls-api.tex serv1.tex ex1.tex ex2.tex ex3.tex
-latex gnutls.tex && latex gnutls.tex && dvips gnutls.dvi -o gnutls.ps
-gnutls.html: gnutls.tex gnutls-api.tex
- -latex2html gnutls.tex -no_subdir 1 -split 0 -local_icons
+gnutls.html: gnutls.tex gnutls-api.tex serv1.tex ex1.tex ex2.tex ex3.tex
+ -latex2html gnutls.tex -no_subdir 1 -split 0 -local_icons -prefix ./
diff --git a/doc/tex/serv1.tex b/doc/tex/serv1.tex
index 5c60a0dede..26ffb6e16f 100644
--- a/doc/tex/serv1.tex
+++ b/doc/tex/serv1.tex
@@ -39,16 +39,13 @@ GNUTLS_STATE initialize_state()
int ret;
gnutls_init(&state, GNUTLS_SERVER);
+
+ /* in order to support session resuming:
+ */
if ((ret = gnutls_set_db_name(state, "gnutls-rsm.db")) < 0)
fprintf(stderr, "*** DB error (%d)\n\n", ret);
- /* null cipher is here only for debuging
- * purposes.
- */
- gnutls_set_cipher_priority(state, GNUTLS_NULL_CIPHER,
- GNUTLS_RIJNDAEL_CBC, GNUTLS_3DES_CBC, GNUTLS_ARCFOUR, 0);
- gnutls_set_cipher_priority(state, GNUTLS_NULL_CIPHER,
- GNUTLS_RIJNDAEL_CBC, GNUTLS_3DES_CBC, 0);
+ gnutls_set_cipher_priority(state, GNUTLS_RIJNDAEL_CBC, GNUTLS_3DES_CBC, 0);
gnutls_set_compression_priority(state, GNUTLS_ZLIB, GNUTLS_NULL_COMPRESSION, 0);
gnutls_set_kx_priority(state, GNUTLS_KX_RSA, GNUTLS_KX_SRP, 0);
gnutls_set_protocol_priority(state, GNUTLS_TLS1, GNUTLS_SSL3, 0);
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index 82f3ece254..4b0e70851b 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -83,11 +83,12 @@ void gnutls_global_set_send_func( SEND_FUNC send_func) {
/**
* gnutls_global_set_log_func - This function sets the logging function
- * @send_func: it's a send(2) like function
+ * @log_func: it's a log function
*
* This is the function were you set the logging function gnutls
- * is going to use. Normaly you may not use this function since
- * it is only used for debug reason.
+ * is going to use. This function only accepts a character array.
+ * Normaly you may not use this function since
+ * it is only used for debugging reasons.
**/
void gnutls_global_set_log_func( LOG_FUNC log_func) {
_gnutls_log_func = log_func;
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index ce8004907c..78dfdff428 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -31,9 +31,8 @@
#define BUFFERS_DEBUG
#define RECORD_DEBUG
#define HANDSHAKE_DEBUG
-*/
#define DEBUG
-
+*/
#define SOCKET int
#define LIST ...