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

Diff for /src/usr.bin/ssh/Attic/kexdhs.c between version 1.30 and 1.31

version 1.30, 2019/01/19 21:43:56 version 1.31, 2019/01/21 09:54:11
Line 113 
Line 113 
         }          }
   
         /* key, cert */          /* key, cert */
         if ((dh_client_pub = BN_new()) == NULL) {          if ((r = sshpkt_get_bignum2(ssh, &dh_client_pub)) != 0 ||
                 r = SSH_ERR_ALLOC_FAIL;  
                 goto out;  
         }  
         DH_get0_key(kex->dh, &pub_key, NULL);  
         if ((r = sshpkt_get_bignum2(ssh, dh_client_pub)) != 0 ||  
             (r = sshpkt_get_end(ssh)) != 0)              (r = sshpkt_get_end(ssh)) != 0)
                 goto out;                  goto out;
           DH_get0_key(kex->dh, &pub_key, NULL);
   
 #ifdef DEBUG_KEXDH  #ifdef DEBUG_KEXDH
         fprintf(stderr, "dh_client_pub= ");          fprintf(stderr, "dh_client_pub= ");

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