-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.
- (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)
@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 ./
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);
/**
* 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;
#define BUFFERS_DEBUG
#define RECORD_DEBUG
#define HANDSHAKE_DEBUG
-*/
#define DEBUG
-
+*/
#define SOCKET int
#define LIST ...