]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
*** empty log message *** gnutls_0_1_9
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 30 Jul 2001 15:29:51 +0000 (15:29 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 30 Jul 2001 15:29:51 +0000 (15:29 +0000)
NEWS
doc/tex/Makefile.am
doc/tex/serv1.tex
lib/gnutls_global.c
lib/gnutls_int.h

diff --git a/NEWS b/NEWS
index 3c94b019126cc19daec8fac763dea221c1c12bfe..8bdc7b7590ea15a48462ec0c7967c6e0a173896d 100644 (file)
--- 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)
index b6e1e068ef5e6c2a0d4a23d6855e546651dd8554..0baadbd2fba6de6cbafdbc9a6af7bd50f0557b03 100644 (file)
@@ -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 ./
index 5c60a0dede3e18fd34a8a9cc37554e9f4baf0d32..26ffb6e16f3a205a98ea06abdfca38f750a61564 100644 (file)
@@ -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);
index 82f3ece254b72d6b12806b458b9eb977def884d4..4b0e70851bb1a29be152ad1a313369a403a586fb 100644 (file)
@@ -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;
index ce8004907c95575e0d259a534197f94b512a1953..78dfdff4288b56c81a9b79ef44c0bf2eb0f69a30 100644 (file)
@@ -31,9 +31,8 @@
 #define BUFFERS_DEBUG
 #define RECORD_DEBUG
 #define HANDSHAKE_DEBUG
-*/
 #define DEBUG
-
+*/
 
 #define SOCKET int
 #define LIST ...