diff options
author | Chris Novakovic <chris@chrisn.me.uk> | 2023-02-23 22:32:24 +0000 |
---|---|---|
committer | Chris Novakovic <chris@chrisn.me.uk> | 2023-02-23 22:32:24 +0000 |
commit | 23ab48a691d4c5f36b3da82510c0750dfeaceb16 (patch) | |
tree | 3aee319a80bc4286a648b95fe7becd715f595046 | |
parent | b7e11f7136acd0fb26a52f4d9d2cd1f918c32ede (diff) | |
parent | 4c899c1ba94ffdf44ca41237649d041094671e3f (diff) |
Pass through RAND_seed() argument to libcrypto (#430)
Closes #427.
-rw-r--r-- | Changes | 5 | ||||
-rw-r--r-- | SSLeay.xs | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ Revision history for Perl extension Net::SSLeay. +???? + - Pass RAND_seed()'s sole argument to the underlying RAND_seed() function in + libcrypto, rather than passing the value of a non-existent second argument. + Fixes GH-427. Thanks to cgf1 for the report. + 1.93_02 2023-02-22 - Update ppport.h to version 3.68. This eliminates thousands of compound-token-split-by-macro compiler warnings when building Net-SSLeay with @@ -3357,7 +3357,7 @@ RAND_seed(buf) PREINIT: STRLEN len; INPUT: - char * buf = SvPV( ST(1), len); + char *buf = SvPV(ST(0), len); CODE: RAND_seed (buf, (int)len); |