Closed eserte closed 4 years ago
This line in the makefile is the cause:-
($^O !~ /darwin/ms ? 'PS_PUBKEY_OPTIMIZE_FOR_FASTER_SPEED' : ()),
Irritatingly, the actual offending key, PS_PUBKEY_OPTIMIZE_FOR_SMALLER_RAM , is not sent anyplace I can find?
Update - found where: ./matrixssl-3-9-3-open/crypto/layer/layer.h
# if defined(USE_MATRIX_RSA) || defined(USE_MATRIX_ECC) || defined(USE_MATRIX_DH)
# define PS_PUBKEY_OPTIMIZE_FOR_SMALLER_RAM
# endif
it probably should be this:
/*
Optimize public/private key operations for smaller ram usage.
The memory savings for optimizing for ram is around 50%
*/
# if defined(USE_MATRIX_RSA) || defined(USE_MATRIX_ECC) || defined(USE_MATRIX_DH)
# if !defined(PS_PUBKEY_OPTIMIZE_FOR_FASTER_SPEED)
# define PS_PUBKEY_OPTIMIZE_FOR_SMALLER_RAM
# endif
# endif
"./matrixssl-3-9-3-open/crypto/layer/layer.h" [Modified] line 330 of 342 --96%-- col 1
Released v3.9.3 with this patch. Thanks!
Seen this compilation failure on my Fedora31 & CentOS8 smokers. It happens only with the system perl, not with self-compiled perls: