From e6f3ef13303313ce4a87983fe640f958e07cc676 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 23 Aug 2010 14:22:38 +0200 Subject: Implemented TLS Alert handling --- src/libtls/tls_handshake.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/libtls/tls_handshake.h') diff --git a/src/libtls/tls_handshake.h b/src/libtls/tls_handshake.h index 3aab3c527..6703b341b 100644 --- a/src/libtls/tls_handshake.h +++ b/src/libtls/tls_handshake.h @@ -38,9 +38,10 @@ struct tls_handshake_t { * @param type TLS handshake message type * @param reader TLS data buffer * @return - * - SUCCESS if handshake complete - * - FAILED if handshake failed - * - NEED_MORE if another invocation of process/build needed + * - SUCCESS if TLS negotiation complete + * - FAILED if a fatal TLS alert queued + * - NEED_MORE if more invocations to process/build needed + * - DESTROY_ME if a fatal TLS alert received */ status_t (*process)(tls_handshake_t *this, tls_handshake_type_t type, tls_reader_t *reader); -- cgit v1.2.3