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

Diff for /src/usr.bin/ssh/mac.c between version 1.16 and 1.17

version 1.16, 2011/08/02 01:22:11 version 1.17, 2011/12/02 00:43:57
Line 111 
Line 111 
         case SSH_EVP:          case SSH_EVP:
                 if (mac->evp_md == NULL)                  if (mac->evp_md == NULL)
                         return -1;                          return -1;
                   HMAC_CTX_init(&mac->evp_ctx);
                 HMAC_Init(&mac->evp_ctx, mac->key, mac->key_len, mac->evp_md);                  HMAC_Init(&mac->evp_ctx, mac->key, mac->key_len, mac->evp_md);
                 return 0;                  return 0;
         case SSH_UMAC:          case SSH_UMAC:

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17