=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-ed25519.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/ssh/ssh-ed25519.c 2014/10/14 03:09:59 1.5 +++ src/usr.bin/ssh/ssh-ed25519.c 2015/01/15 21:38:50 1.6 @@ -1,4 +1,4 @@ -/* $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 * @@ -23,9 +23,8 @@ #include #include -#include "xmalloc.h" #include "log.h" -#include "buffer.h" +#include "sshbuf.h" #include "sshkey.h" #include "ssherr.h" #include "ssh.h" @@ -131,7 +130,7 @@ } 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; } @@ -162,4 +161,3 @@ free(ktype); return r; } -