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

Diff for /src/usr.bin/ssh/hmac.c between version 1.4 and 1.5

version 1.4, 2000/09/07 20:27:51 version 1.5, 2000/12/19 23:17:56
Line 31 
Line 31 
   
 #include <openssl/hmac.h>  #include <openssl/hmac.h>
   
 unsigned char *  u_char *
 hmac(  hmac(
     EVP_MD *evp_md,      EVP_MD *evp_md,
     unsigned int seqno,      u_int seqno,
     unsigned char *data, int datalen,      u_char *data, int datalen,
     unsigned char *key, int keylen)      u_char *key, int keylen)
 {  {
         HMAC_CTX c;          HMAC_CTX c;
         static unsigned char m[EVP_MAX_MD_SIZE];          static u_char m[EVP_MAX_MD_SIZE];
         unsigned char b[4];          u_char b[4];
   
         if (key == NULL)          if (key == NULL)
                 fatal("hmac: no key");                  fatal("hmac: no key");

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