git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22394 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-01-01 17:27:39 +00:00
parent a6a555e91d
commit f35ef1d2f6

View File

@@ -327,7 +327,7 @@ out:
/** /**
* Generate a new DH private-public key pair. The dh parameter must be * Generate a new DH private-public key pair. The dh parameter must be
* allocted first with DH_new(). * allocted first with DH_new(). dh->p and dp->g must be set.
* *
* @param dh dh parameter. * @param dh dh parameter.
* *
@@ -363,7 +363,7 @@ DH_compute_key(unsigned char *shared_key,
/** /**
* Checks that the pubkey passed in is valid using * Checks that the pubkey passed in is valid using
* dh_check_pubkey(). * DH_check_pubkey().
*/ */
if (!DH_check_pubkey(dh, peer_pub_key, &codes) || codes != 0) if (!DH_check_pubkey(dh, peer_pub_key, &codes) || codes != 0)