tls: fix a typo in SSL_dh_file. (#275)

In d5954ce249, dhparam has been added
to the tls plugin. But a typo was made, misspelled "sp" as "self".
This commit corrects this typo.

Signed-off-by: Tom Li <biergaizi@member.fsf.org>
This commit is contained in:
Tom Li 2016-11-05 23:44:41 +08:00 committed by Matt Simerson
parent 4e8cb7baf5
commit d00a82d8e8

View File

@ -329,7 +329,7 @@ sub upgrade_socket {
SSL_cert_file => $sp->tls_cert, SSL_cert_file => $sp->tls_cert,
SSL_key_file => $sp->tls_key, SSL_key_file => $sp->tls_key,
SSL_ca_file => $sp->tls_ca, SSL_ca_file => $sp->tls_ca,
SSL_dh_file => $self->tls_dhparam, SSL_dh_file => $sp->tls_dhparam,
SSL_cipher_list => $sp->tls_ciphers, SSL_cipher_list => $sp->tls_ciphers,
SSL_startHandshake => 0, SSL_startHandshake => 0,
SSL_server => 1, SSL_server => 1,