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

Diff for /src/usr.bin/ssh/ssh-rsa.c between version 1.30 and 1.31

version 1.30, 2003/06/18 11:28:11 version 1.31, 2003/11/10 16:23:41
Line 31 
Line 31 
   
 /* RSASSA-PKCS1-v1_5 (PKCS #1 v2.0 signature) with SHA1 */  /* RSASSA-PKCS1-v1_5 (PKCS #1 v2.0 signature) with SHA1 */
 int  int
 ssh_rsa_sign(Key *key, u_char **sigp, u_int *lenp,  ssh_rsa_sign(const Key *key, u_char **sigp, u_int *lenp,
     u_char *data, u_int datalen)      const u_char *data, u_int datalen)
 {  {
         const EVP_MD *evp_md;          const EVP_MD *evp_md;
         EVP_MD_CTX md;          EVP_MD_CTX md;
Line 96 
Line 96 
 }  }
   
 int  int
 ssh_rsa_verify(Key *key, u_char *signature, u_int signaturelen,  ssh_rsa_verify(const Key *key, const u_char *signature, u_int signaturelen,
     u_char *data, u_int datalen)      const u_char *data, u_int datalen)
 {  {
         Buffer b;          Buffer b;
         const EVP_MD *evp_md;          const EVP_MD *evp_md;

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31