Some time in the OpenSSL 1.1 timeline, RSA_METHOD and DSA_METHOD became
opaque, while there are some scattered calls to sizeof(RSA_METHOD) and
attempts to read, e.g. ->name from these. This appears to have been
backported at least to 1.0.2l and possibly earlier. I "fixed" this by
changing the version test within pkcs11h-openssl.c from 10100001 to
100020CF; I have no idea if this is the right fix.
If deprecated APIs are disabled, openssl/x509.h no longer recursively
includes rsa.h, dsa.h, or dh.h. This is easily fixed by adding the
appropriate includes, guarded by the appropriate ifndefs.
Some time in the OpenSSL 1.1 timeline, RSA_METHOD and DSA_METHOD became opaque, while there are some scattered calls to sizeof(RSA_METHOD) and attempts to read, e.g. ->name from these. This appears to have been backported at least to 1.0.2l and possibly earlier. I "fixed" this by changing the version test within
pkcs11h-openssl.c
from10100001
to100020CF
; I have no idea if this is the right fix.If deprecated APIs are disabled, openssl/x509.h no longer recursively includes rsa.h, dsa.h, or dh.h. This is easily fixed by adding the appropriate includes, guarded by the appropriate ifndefs.