Ensure that the EVP_MD_meth_new docs properly match the declared functions;
[openssl.git] / doc / crypto / EVP_MD_meth_new.pod
index a6a17cd6dfb562d8cc48b873fb70749ce784ccc8..427ab268ed167ded482724384cea45182f1f7caf 100644 (file)
@@ -18,9 +18,9 @@ EVP_MD methods
 
  #include <openssl/evp.h>
 
- EVP_MD *EVP_MD_create_method(int md_type, int pkey_type);
+ EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type);
  EVP_MD *EVP_MD_meth_dup(const EVP_MD *md);
- void EVP_MD_destroy_method(EVP_MD *md);
+ void EVP_MD_meth_free(EVP_MD *md);
 
  int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize);
  int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize);
@@ -96,13 +96,13 @@ combined with EVP_MD_FLAG_DIGALGID_ABSENT, the latter will override.>
 
 When setting up a DigestAlgorithmIdentifier, this flag will have the
 parameter be left absent by default.  I<Note: if combined with
-EVP_MD_FLAG_DIGALGID_NULL, the latter will be overriden.>
+EVP_MD_FLAG_DIGALGID_NULL, the latter will be overridden.>
 
 =item EVP_MD_FLAG_DIGALGID_CUSTOM
 
 Custom DigestAlgorithmIdentifier handling via ctrl, with
 B<EVP_MD_FLAG_DIGALGID_ABSENT> as default.  I<Note: if combined with
-EVP_MD_FLAG_DIGALGID_NULL, the latter will be overriden.>
+EVP_MD_FLAG_DIGALGID_NULL, the latter will be overridden.>
 Currently unused.
 
 =back
@@ -157,4 +157,13 @@ L<EVP_DigestInit(3)>, L<EVP_SignInit(3)>, L<EVP_VerifyInit(3)>
 The B<EVP_MD> structure was openly available in OpenSSL before version
 1.1.  The functions described here were added in OpenSSL version 1.1.
 
+=head1 COPYRIGHT
+
+Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
+
+Licensed under the OpenSSL license (the "License").  You may not use
+this file except in compliance with the License.  You can obtain a copy
+in the file LICENSE in the source distribution or at
+L<https://www.openssl.org/source/license.html>.
+
 =cut