version 1.30, 2019/01/19 21:43:56 |
version 1.31, 2019/01/21 09:54:11 |
|
|
} |
} |
|
|
/* 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= "); |