From: Chris R. <chr...@us...> - 2003-03-09 10:54:28
|
Update of /cvsroot/perl-ldap/ldap/lib/Net In directory sc8-pr-cvs1:/tmp/cvs-serv31345 Modified Files: LDAPS.pm Log Message: Changed decryptkey to keydecrypt for consistency Index: LDAPS.pm =================================================================== RCS file: /cvsroot/perl-ldap/ldap/lib/Net/LDAPS.pm,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- LDAPS.pm 28 May 2002 11:15:29 -0000 1.12 +++ LDAPS.pm 9 Mar 2003 10:54:24 -0000 1.13 @@ -136,7 +136,7 @@ =item clientkey -=item decryptkey +=item keydecrypt If you want to use the client to offer a certificate to the server for SSL authentication (which is not the same as for the LDAP Bind @@ -145,7 +145,7 @@ format. If the private key is encrypted (highly recommended!) then set -decryptkey to a reference to a subroutine that returns the decrypting +keydecrypt to a reference to a subroutine that returns the decrypting key. For example: $ldaps = new Net::LDAPS('myhost.example.com', @@ -153,7 +153,7 @@ verify => 'require', clientcert => 'mycert.pem', clientkey => 'mykey.pem', - decryptkey => sub { 'secret'; }, + keydecrypt => sub { 'secret'; }, capath => '/usr/local/cacerts/'); =item capath |