diff options
author | Martin Willi <martin@revosec.ch> | 2010-08-23 14:22:38 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-08-23 15:13:37 +0200 |
commit | e6f3ef13303313ce4a87983fe640f958e07cc676 (patch) | |
tree | 7dd486d439e7b7975be96d5160a5ceaf5550a2ea /src/libtls/tls_handshake.h | |
parent | 908e752201cc5cfc7f663e724f0ab3dc76c72d0a (diff) | |
download | strongswan-e6f3ef13303313ce4a87983fe640f958e07cc676.tar.bz2 strongswan-e6f3ef13303313ce4a87983fe640f958e07cc676.tar.xz |
Implemented TLS Alert handling
Diffstat (limited to 'src/libtls/tls_handshake.h')
-rw-r--r-- | src/libtls/tls_handshake.h | 7 |
1 files changed, 4 insertions, 3 deletions
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); |