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

Diff for /src/usr.bin/ssh/ssh-agent.c between version 1.37.2.3 and 1.37.2.4

version 1.37.2.3, 2001/03/21 19:46:29 version 1.37.2.4, 2001/05/07 21:09:35
Line 357 
Line 357 
 }  }
   
 void  void
 generate_additional_parameters(RSA *rsa)  
 {  
         BIGNUM *aux;  
         BN_CTX *ctx;  
         /* Generate additional parameters */  
         aux = BN_new();  
         ctx = BN_CTX_new();  
   
         BN_sub(aux, rsa->q, BN_value_one());  
         BN_mod(rsa->dmq1, rsa->d, aux, ctx);  
   
         BN_sub(aux, rsa->p, BN_value_one());  
         BN_mod(rsa->dmp1, rsa->d, aux, ctx);  
   
         BN_clear_free(aux);  
         BN_CTX_free(ctx);  
 }  
   
 void  
 process_add_identity(SocketEntry *e, int version)  process_add_identity(SocketEntry *e, int version)
 {  {
         Key *k = NULL;          Key *k = NULL;
Line 578 
Line 559 
         sz = howmany(n+1, NFDBITS) * sizeof(fd_mask);          sz = howmany(n+1, NFDBITS) * sizeof(fd_mask);
         if (*fdrp == NULL || n > *fdl) {          if (*fdrp == NULL || n > *fdl) {
                 if (*fdrp)                  if (*fdrp)
                         free(*fdrp);                          xfree(*fdrp);
                 if (*fdwp)                  if (*fdwp)
                         free(*fdwp);                          xfree(*fdwp);
                 *fdrp = xmalloc(sz);                  *fdrp = xmalloc(sz);
                 *fdwp = xmalloc(sz);                  *fdwp = xmalloc(sz);
                 *fdl = n;                  *fdl = n;
Line 731 
Line 712 
         char *shell, *format, *pidstr, pidstrbuf[1 + 3 * sizeof pid];          char *shell, *format, *pidstr, pidstrbuf[1 + 3 * sizeof pid];
         extern int optind;          extern int optind;
         fd_set *readsetp = NULL, *writesetp = NULL;          fd_set *readsetp = NULL, *writesetp = NULL;
   
           SSLeay_add_all_algorithms();
   
         while ((ch = getopt(ac, av, "cks")) != -1) {          while ((ch = getopt(ac, av, "cks")) != -1) {
                 switch (ch) {                  switch (ch) {

Legend:
Removed from v.1.37.2.3  
changed lines
  Added in v.1.37.2.4