-/* $OpenBSD: ssh-ed25519.c,v 1.5 2014/10/14 03:09:59 daniel Exp $ */
+/* $OpenBSD: ssh-ed25519.c,v 1.6 2015/01/15 21:38:50 markus Exp $ */
/*
* Copyright (c) 2013 Markus Friedl <markus@openbsd.org>
*
#include <string.h>
#include <stdarg.h>
-#include "xmalloc.h"
#include "log.h"
-#include "buffer.h"
+#include "sshbuf.h"
#include "sshkey.h"
#include "ssherr.h"
#include "ssh.h"
}
smlen = len + datalen;
mlen = smlen;
- if ((sm = malloc(smlen)) == NULL || (m = xmalloc(mlen)) == NULL) {
+ if ((sm = malloc(smlen)) == NULL || (m = malloc(mlen)) == NULL) {
r = SSH_ERR_ALLOC_FAIL;
goto out;
}
free(ktype);
return r;
}
-