Hello,

The following defines are not honored during compilation of rsa/dsa/dh:
OPENSSL_NO_RSA
OPENSSL_NO_DSA
OPENSSL_NO_DH

The following source files have to be modified:

usr/src/common/openssl/crypto/dh/dh_asn1.c
usr/src/common/openssl/crypto/dh/dh_gen.c
usr/src/common/openssl/crypto/dh/dh_key.c
usr/src/common/openssl/crypto/dh/dh_lib.c
usr/src/common/openssl/crypto/dh/dh_check.c
usr/src/common/openssl/crypto/dh/dh_err.c
usr/src/common/openssl/crypto/dh/dh_depr.c
usr/src/common/openssl/crypto/dsa/dsa_gen.c
usr/src/common/openssl/crypto/dsa/dsa_key.c
usr/src/common/openssl/crypto/dsa/dsa_lib.c
usr/src/common/openssl/crypto/dsa/dsa_asn1.c
usr/src/common/openssl/crypto/dsa/dsa_vrf.c
usr/src/common/openssl/crypto/dsa/dsa_sign.c
usr/src/common/openssl/crypto/dsa/dsa_err.c
usr/src/common/openssl/crypto/dsa/dsa_ossl.c
usr/src/common/openssl/crypto/dsa/dsa_depr.c
usr/src/common/openssl/crypto/rsa/rsa_eay.c
usr/src/common/openssl/crypto/rsa/rsa_gen.c
usr/src/common/openssl/crypto/rsa/rsa_lib.c
usr/src/common/openssl/crypto/rsa/rsa_sign.c
usr/src/common/openssl/crypto/rsa/rsa_saos.c
usr/src/common/openssl/crypto/rsa/rsa_err.c
usr/src/common/openssl/crypto/rsa/rsa_pk1.c
usr/src/common/openssl/crypto/rsa/rsa_ssl.c
usr/src/common/openssl/crypto/rsa/rsa_none.c
usr/src/common/openssl/crypto/rsa/rsa_oaep.c
usr/src/common/openssl/crypto/rsa/rsa_chk.c
usr/src/common/openssl/crypto/rsa/rsa_null.c
usr/src/common/openssl/crypto/rsa/rsa_asn1.c
usr/src/common/openssl/crypto/rsa/rsa_depr.c
usr/src/common/openssl/crypto/rsa/rsa_pss.c
usr/src/common/openssl/crypto/rsa/rsa_x931.c


Attached patch fixes the problem.


v.