#include "lib.h"
#include "pgplib.h"
-#include "lib/mem.h"
-
const char *pgp_pkalgbytype (unsigned char type)
{
switch (type) {
pgp_uid_t **lp = &l;
for (; up; up = up->next) {
- *lp = mem_calloc (1, sizeof (pgp_uid_t));
+ *lp = p_new(pgp_uid_t, 1);
(*lp)->trust = up->trust;
(*lp)->flags = up->flags;
- (*lp)->addr = str_dup (up->addr);
+ (*lp)->addr = m_strdup(up->addr);
(*lp)->parent = parent;
lp = &(*lp)->next;
}