[BACK]Return to ssh-ed25519.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/ssh-ed25519.c between version 1.5 and 1.6

version 1.5, 2014/10/14 03:09:59 version 1.6, 2015/01/15 21:38:50
Line 23 
Line 23 
 #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"
Line 131 
Line 130 
         }          }
         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;
         }          }
Line 162 
Line 161 
         free(ktype);          free(ktype);
         return r;          return r;
 }  }
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6