Revision aa3b4b4d deps/openssl/openssl/doc/ssl/SSL_CTX_set_tmp_dh_callback.pod

View differences:

deps/openssl/openssl/doc/ssl/SSL_CTX_set_tmp_dh_callback.pod
12 12
            DH *(*tmp_dh_callback)(SSL *ssl, int is_export, int keylength));
13 13
 long SSL_CTX_set_tmp_dh(SSL_CTX *ctx, DH *dh);
14 14

  
15
 void SSL_set_tmp_dh_callback(SSL_CTX *ctx,
15
 void SSL_set_tmp_dh_callback(SSL *ctx,
16 16
            DH *(*tmp_dh_callback)(SSL *ssl, int is_export, int keylength));
17 17
 long SSL_set_tmp_dh(SSL *ssl, DH *dh)
18 18

  
19
 DH *(*tmp_dh_callback)(SSL *ssl, int is_export, int keylength));
20

  
21 19
=head1 DESCRIPTION
22 20

  
23 21
SSL_CTX_set_tmp_dh_callback() sets the callback function for B<ctx> to be
......
81 79
is mandatory.
82 80

  
83 81
Application authors may compile in DH parameters. Files dh512.pem,
84
dh1024.pem, dh2048.pem, and dh4096 in the 'apps' directory of current
82
dh1024.pem, dh2048.pem, and dh4096.pem in the 'apps' directory of current
85 83
version of the OpenSSL distribution contain the 'SKIP' DH parameters,
86 84
which use safe primes and were generated verifiably pseudo-randomly.
87 85
These files can be converted into C code using the B<-C> option of the

Also available in: Unified diff