Add a payload.get_header_length() method, remove header length definitions
This commit is contained in:
@@ -30,11 +30,6 @@ typedef enum cert_encoding_t cert_encoding_t;
|
||||
#include <credentials/certificates/certificate.h>
|
||||
#include <encoding/payloads/payload.h>
|
||||
|
||||
/**
|
||||
* Length of a cert payload without the cert data in bytes.
|
||||
*/
|
||||
#define CERT_PAYLOAD_HEADER_LENGTH 5
|
||||
|
||||
/**
|
||||
* Certifcate encodings, as in RFC4306
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user