@@ -1972,8 +1972,9 @@ Examples:
1972
1972
#BEWARE: THIS IS WRONG - MEMORY LEAKS! (you cannot free @cachain items)
1973
1973
my ($privkey, $cert) = Net::SSLeay::P_PKCS12_load_file($filename, 1, $password);
1974
1974
1975
- B<NOTE> With some combinations of Windows, perl, compiler and compiler options, you
1976
- may see a runtime error "no OPENSSL_Applink", when calling
1975
+ B<NOTE> Net::SSLeay 1.92_01 and earlier: With some combinations of
1976
+ Windows, perl, compiler and compiler options, you may see a runtime
1977
+ error "no OPENSSL_Applink", when calling
1977
1978
Net::SSLeay::P_PKCS12_load_file. See README.Win32 for more details.
1978
1979
1979
1980
=back
@@ -2226,6 +2227,11 @@ You have to use necessary BIO functions like this:
2226
2227
2227
2228
Prints session details (e.g. protocol version, cipher, session-id ...) to file handle.
2228
2229
2230
+ B<NOTE> With some combinations of Windows, perl, compiler and compiler
2231
+ options, you may see a runtime error "no OPENSSL_Applink", when
2232
+ calling Net::SSLeay::SESSION_print_fp. See README.Win32 for more
2233
+ details.
2234
+
2229
2235
my $rv = Net::SSLeay::SESSION_print_fp($fp, $ses);
2230
2236
# $fp - perl file handle
2231
2237
# $ses - value corresponding to openssl's SSL_SESSION structure
@@ -2239,6 +2245,12 @@ Example:
2239
2245
open my $fh, ">", "output.txt";
2240
2246
Net::SSLeay::SESSION_print_fp($fh,$ses);
2241
2247
2248
+ Similar functionality without Net::SSLeay::SESSION_print_fp
2249
+
2250
+ my $ses = Net::SSLeay::get_session($ssl);
2251
+ my $bio = Net::SSLeay::BIO_new_file('output.txt', 'w');
2252
+ Net::SSLeay::SESSION_print($bio, $ses);
2253
+
2242
2254
=item * SESSION_set_time
2243
2255
2244
2256
Replaces the creation time of the session s with the chosen value $t (seconds since 1.1.1970).
@@ -3391,6 +3403,11 @@ Adds the certificate and private key from PKCS12 file $p12filename to $ctx.
3391
3403
#
3392
3404
# returns: 1 on success, 0 on failure
3393
3405
3406
+ B<NOTE> Net::SSLeay 1.92_01 and earlier: With some combinations of
3407
+ Windows, perl, compiler and compiler options, you may see a runtime
3408
+ error "no OPENSSL_Applink", when calling
3409
+ Net::SSLeay::CTX_use_PKCS12_file. See README.Win32 for more details.
3410
+
3394
3411
=item * CTX_use_PrivateKey
3395
3412
3396
3413
Adds the private key $pkey to $ctx.
0 commit comments