X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fcrypto%2FDH_set_method.pod;h=b9a61d542bd3acc6281fe0adad438ca783796318;hb=acb5b34328e0e65095f7924f58c78a146e3d8a93;hp=dca41d8dbc8adcf2528f27d1b7a6a4d4e9e91553;hpb=4d524e10b4853436a1bfbc83822c5d0e87d64fbd;p=openssl.git diff --git a/doc/crypto/DH_set_method.pod b/doc/crypto/DH_set_method.pod index dca41d8dbc..b9a61d542b 100644 --- a/doc/crypto/DH_set_method.pod +++ b/doc/crypto/DH_set_method.pod @@ -36,9 +36,6 @@ method. DH_set_method() selects B for all operations using the structure B. -DH_get_method() returns a pointer to the method currently selected -for B. - DH_new_method() allocates and initializes a B structure so that B will be used for the DH operations. If B is B, the default method is used. @@ -56,7 +53,7 @@ the default method is used. /* compute shared secret */ int (*compute_key)(unsigned char *key, BIGNUM *pub_key, DH *dh); - /* compute r = a ^ p mod m. May be NULL */ + /* compute r = a ^ p mod m (May be NULL for some implementations) */ int (*bn_mod_exp)(DH *dh, BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); @@ -75,8 +72,8 @@ the default method is used. =head1 RETURN VALUES -DH_OpenSSL(), DH_get_default_method() and DH_get_method() return -pointers to the respective Bs. +DH_OpenSSL() and DH_get_default_method() return pointers to the respective +Bs. DH_set_default_method() returns no value.