Fix Typos
[openssl.git] / doc / man3 / SSL_CTX_set_tmp_ecdh.pod
index 08e88da3123eeb31c084fda13488d4b7f196cc9c..d0367e000052f3414503e718882ede1870ecd1a2 100644 (file)
@@ -7,20 +7,22 @@ SSL_CTX_set_tmp_ecdh, SSL_set_tmp_ecdh, SSL_CTX_set_ecdh_auto, SSL_set_ecdh_auto
 
 =head1 SYNOPSIS
 
-#include <openssl/ssl.h>
+ #include <openssl/ssl.h>
 
-long SSL_CTX_set_tmp_ecdh(SSL_CTX *ctx, const EC_KEY *ecdh);
-long SSL_set_tmp_ecdh(SSL *ssl, const EC_KEY *ecdh);
+ long SSL_CTX_set_tmp_ecdh(SSL_CTX *ctx, const EC_KEY *ecdh);
+ long SSL_set_tmp_ecdh(SSL *ssl, const EC_KEY *ecdh);
 
-long SSL_CTX_set_ecdh_auto(SSL_CTX *ctx, int state);
-long SSL_set_ecdh_auto(SSL *ssl, int state);
+ long SSL_CTX_set_ecdh_auto(SSL_CTX *ctx, int state);
+ long SSL_set_ecdh_auto(SSL *ssl, int state);
 
 =head1 DESCRIPTION
 
 SSL_CTX_set_tmp_ecdh() sets ECDH parameters to be used to be B<ecdh>.
 The key is inherited by all B<ssl> objects created from B<ctx>.
+This macro is deprecated in favor of L<SSL_CTX_set1_groups(3)>.
 
 SSL_set_tmp_ecdh() sets the parameters only for B<ssl>.
+This macro is deprecated in favor of L<SSL_set1_groups(3)>.
 
 SSL_CTX_set_ecdh_auto() and SSL_set_ecdh_auto() are deprecated and
 have no effect.
@@ -40,7 +42,7 @@ L<ciphers(1)>, L<ecparam(1)>
 
 Copyright 2018 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>.