Implemented TLS Alert handling

This commit is contained in:
Martin Willi
2010-08-23 15:13:37 +02:00
parent 908e752201
commit e6f3ef1330
15 changed files with 643 additions and 80 deletions
+6 -5
View File
@@ -21,13 +21,13 @@
#ifndef TLS_FRAGMENTATION_H_
#define TLS_FRAGMENTATION_H_
typedef struct tls_fragmentation_t tls_fragmentation_t;
#include <library.h>
#include "tls.h"
#include "tls_alert.h"
#include "tls_handshake.h"
#include "tls_handshake.h"
typedef struct tls_fragmentation_t tls_fragmentation_t;
/**
* TLS record protocol fragmentation layer.
@@ -71,10 +71,11 @@ struct tls_fragmentation_t {
* Create a tls_fragmentation instance.
*
* @param handshake upper layer handshake protocol
* @param alert TLS alert handler
* @param application upper layer application data or NULL
* @return TLS fragmentation layer.
* @return TLS fragmentation layer
*/
tls_fragmentation_t *tls_fragmentation_create(tls_handshake_t *handshake,
tls_application_t *application);
tls_alert_t *alert, tls_application_t *application);
#endif /** TLS_FRAGMENTATION_H_ @}*/