Commit fba9d3cb authored by Niels Möller's avatar Niels Möller


moved from certificate.c.

Rev: src/spki/certificate.h:1.11
parent 8217cf89
......@@ -188,7 +188,13 @@ spki_cert_parse_body(struct spki_acl_db *db, struct sexp_iterator *i,
struct spki_5_tuple *cert);
/* Other more or less itnernal functions. */
/* Other more or less internal functions. */
#define SPKI_MALLOC(db, size) ((db)->realloc((db), NULL, (size)))
#define SPKI_FREE(db, p) ((db)->realloc((db), (p), 0))
#define SPKI_NEW(db, type, var) type *var = SPKI_MALLOC((db), sizeof(type))
uint8_t *
spki_dup(struct spki_acl_db *db,
unsigned length, const uint8_t *data);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment