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

Diff for /src/usr.bin/ssh/ssh_api.c between version 1.20 and 1.21

version 1.20, 2020/07/01 16:28:31 version 1.21, 2020/08/27 01:06:18
Line 50 
Line 50 
  */   */
 int     use_privsep = 0;  int     use_privsep = 0;
 int     mm_sshkey_sign(struct sshkey *, u_char **, u_int *,  int     mm_sshkey_sign(struct sshkey *, u_char **, u_int *,
     const u_char *, u_int, const char *, const char *, u_int);      const u_char *, u_int, const char *, const char *, const char *, u_int);
   
 #ifdef WITH_OPENSSL  #ifdef WITH_OPENSSL
 DH      *mm_choose_dh(int, int, int);  DH      *mm_choose_dh(int, int, int);
Line 62 
Line 62 
   
 int  int
 mm_sshkey_sign(struct sshkey *key, u_char **sigp, u_int *lenp,  mm_sshkey_sign(struct sshkey *key, u_char **sigp, u_int *lenp,
     const u_char *data, u_int datalen, const char *alg, const char *sk_provider,      const u_char *data, u_int datalen, const char *alg,
     u_int compat)      const char *sk_provider, const char *sk_pin, u_int compat)
 {  {
         return (-1);          return (-1);
 }  }
Line 561 
Line 561 
     const u_char *data, size_t dlen, const char *alg)      const u_char *data, size_t dlen, const char *alg)
 {  {
         return sshkey_sign(privkey, signature, slen, data, dlen,          return sshkey_sign(privkey, signature, slen, data, dlen,
             alg, NULL, ssh->compat);              alg, NULL, NULL, ssh->compat);
 }  }

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21