X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FDH_set_method.pod;h=d5cdc3be0ce6ac54b420536f9cc3f2264fe63284;hp=b49a50f8f588c297bd982201061706fdcff8d2c6;hb=8abffa4a73fcbf6536e0a42d736ed9211a8204ea;hpb=accb0c6edbb663b7f511886630f7880f4f7dfdc7 diff --git a/doc/crypto/DH_set_method.pod b/doc/crypto/DH_set_method.pod index b49a50f8f5..d5cdc3be0c 100644 --- a/doc/crypto/DH_set_method.pod +++ b/doc/crypto/DH_set_method.pod @@ -8,6 +8,7 @@ DH_set_method, DH_new_method, DH_OpenSSL - select DH method =head1 SYNOPSIS #include + #include void DH_set_default_method(const DH_METHOD *meth); @@ -15,7 +16,7 @@ DH_set_method, DH_new_method, DH_OpenSSL - select DH method int DH_set_method(DH *dh, const DH_METHOD *meth); - DH *DH_new_method(DH_METHOD *meth); + DH *DH_new_method(ENGINE *engine); const DH_METHOD *DH_OpenSSL(void); @@ -35,7 +36,7 @@ structures created later. B: This is true only whilst no ENGINE has been set as a default for DH, so this function is no longer recommended. DH_get_default_method() returns a pointer to the current default DH_METHOD. -However, the meaningfulness of this result is dependant on whether the ENGINE +However, the meaningfulness of this result is dependent on whether the ENGINE API is being used, so this function is no longer recommended. DH_set_method() selects B to perform all operations using the key B.