Implemented TLS Alert handling
This commit is contained in:
@@ -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_ @}*/
|
||||
|
||||
Reference in New Issue
Block a user