Skip to content

Commit 23ab48a

Browse files
Pass through RAND_seed() argument to libcrypto (#430)
Closes #427.
2 parents b7e11f7 + 4c899c1 commit 23ab48a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Revision history for Perl extension Net::SSLeay.
22

3+
????
4+
- Pass RAND_seed()'s sole argument to the underlying RAND_seed() function in
5+
libcrypto, rather than passing the value of a non-existent second argument.
6+
Fixes GH-427. Thanks to cgf1 for the report.
7+
38
1.93_02 2023-02-22
49
- Update ppport.h to version 3.68. This eliminates thousands of
510
compound-token-split-by-macro compiler warnings when building Net-SSLeay with

SSLeay.xs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3357,7 +3357,7 @@ RAND_seed(buf)
33573357
PREINIT:
33583358
STRLEN len;
33593359
INPUT:
3360-
char * buf = SvPV( ST(1), len);
3360+
char *buf = SvPV(ST(0), len);
33613361
CODE:
33623362
RAND_seed (buf, (int)len);
33633363

0 commit comments

Comments
 (0)