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

Diff for /src/usr.bin/ssh/umac.c between version 1.4.6.1 and 1.5

version 1.4.6.1, 2013/11/08 05:52:21 version 1.5, 2013/05/17 00:13:14
Line 1197 
Line 1197 
     if (ctx) {      if (ctx) {
         if (ALLOC_BOUNDARY)          if (ALLOC_BOUNDARY)
             ctx = (struct umac_ctx *)ctx->free_ptr;              ctx = (struct umac_ctx *)ctx->free_ptr;
         xfree(ctx);          free(ctx);
     }      }
     return (1);      return (1);
 }  }
Line 1213 
Line 1213 
     size_t bytes_to_add;      size_t bytes_to_add;
     aes_int_key prf_key;      aes_int_key prf_key;
   
     octx = ctx = xcalloc(1, sizeof(*ctx) + ALLOC_BOUNDARY);      octx = ctx = xmalloc(sizeof(*ctx) + ALLOC_BOUNDARY);
     if (ctx) {      if (ctx) {
         if (ALLOC_BOUNDARY) {          if (ALLOC_BOUNDARY) {
             bytes_to_add = ALLOC_BOUNDARY -              bytes_to_add = ALLOC_BOUNDARY -

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