Return to ssh-ed25519.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.5, 2014/10/14 03:09:59 | version 1.6, 2015/01/15 21:38:50 | ||
---|---|---|---|
|
|
||
#include <string.h> | #include <string.h> | ||
#include <stdarg.h> | #include <stdarg.h> | ||
#include "xmalloc.h" | |||
#include "log.h" | #include "log.h" | ||
#include "buffer.h" | #include "sshbuf.h" | ||
#include "sshkey.h" | #include "sshkey.h" | ||
#include "ssherr.h" | #include "ssherr.h" | ||
#include "ssh.h" | #include "ssh.h" | ||
|
|
||
} | } | ||
smlen = len + datalen; | smlen = len + datalen; | ||
mlen = smlen; | 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; | r = SSH_ERR_ALLOC_FAIL; | ||
goto out; | goto out; | ||
} | } | ||
|
|
||
free(ktype); | free(ktype); | ||
return r; | return r; | ||
} | } | ||