Multiple verifier reference identities.
[openssl.git] / doc / crypto / DH_set_method.pod
index b49a50f8f588c297bd982201061706fdcff8d2c6..d5cdc3be0ce6ac54b420536f9cc3f2264fe63284 100644 (file)
@@ -8,6 +8,7 @@ DH_set_method, DH_new_method, DH_OpenSSL - select DH method
 =head1 SYNOPSIS
 
  #include <openssl/dh.h>
+ #include <openssl/engine.h>
 
  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<NB>: 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<meth> to perform all operations using the key B<dh>.