The EVP_MAC functions have been renamed for consistency. The EVP_MAC_CTX_*
[openssl.git] / doc / man3 / EVP_PKEY_CTX_set_tls1_prf_md.pod
index 81fd7aa943b7c312bddfed1ab4e34cdba9a25dc7..e0629accc7d93627259e495fe52fcc0834156792 100644 (file)
@@ -70,7 +70,7 @@ All these functions return 1 for success and 0 or a negative value for failure.
 In particular a return value of -2 indicates the operation is not supported by
 the public key algorithm.
 
-=head1 EXAMPLE
+=head1 EXAMPLES
 
 This example derives 10 bytes using SHA-256 with the secret key "secret"
 and seed value "seed":
@@ -78,6 +78,7 @@ and seed value "seed":
  EVP_PKEY_CTX *pctx;
  unsigned char out[10];
  size_t outlen = sizeof(out);
+
  pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_TLS1_PRF, NULL);
  if (EVP_PKEY_derive_init(pctx) <= 0)
      /* Error */
@@ -100,7 +101,7 @@ L<EVP_PKEY_derive(3)>
 
 Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
 
-Licensed under the OpenSSL license (the "License").  You may not use
+Licensed under the Apache License 2.0 (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>.