]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
updated
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 4 Mar 2002 17:16:46 +0000 (17:16 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 4 Mar 2002 17:16:46 +0000 (17:16 +0000)
doc/tex/errors.tex
lib/gnutls.h.in.in

index dbc6758308ce52d869f5ff9d6de4de166862a3d2..ef9f24c7ffc69598384fb691fe657ed9b9e4dfc4 100644 (file)
@@ -8,7 +8,7 @@ or not.
 \par 
 Fatal errors terminate the connection immediately and
 further sends ard receives will be disallowed. An example of
-a fatal error code is GNUTLS\_E\_MAC\_FAILED. Non-fatal errors
+a fatal error code is GNUTLS\_E\_DECRYPTION\_FAILED. Non-fatal errors
 may warn about something (ie a warning alert was received), or
 indicate the some action has to be taken. This is the case with
 the error code GNUTLS\_E\_REHANDSHAKE returned by 
@@ -18,7 +18,7 @@ may ignore this request, or may reply with an alert.
 You can test if an error code is a fatal one by using the
 \hyperref{gnutls\_error\_is\_fatal()}{gnutls\_error\_is\_fatal() (see Section }{)}{gnutls_error_is_fatal}.
 \par
-If any non fatal errors, that require reaction, are to be returned by a
+If any non fatal errors, that require an action, are to be returned by a
 function, these error codes will be documented
 in the function's reference.
 
index e0d4e5fe1f403299640d2ccac5e798f66d3850e9..89d58233c61a2bef9b7ff94f29684d64cd2c1df1 100644 (file)
@@ -101,6 +101,7 @@ typedef struct {
 int gnutls_init(GNUTLS_STATE * state, GNUTLS_ConnectionEnd con_end);
 void gnutls_deinit(GNUTLS_STATE state);
 int gnutls_bye( GNUTLS_STATE state, GNUTLS_CloseRequest how);
+#define gnutls_close gnutls_bye
 
 int gnutls_handshake( GNUTLS_STATE state);
 int gnutls_rehandshake( GNUTLS_STATE state);