maintainer-feedback requested: [Bug 235883] devel/qca does not build with option OPENSSL and ssl=libressl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 20 14:23:04 GMT 2019


Bugzilla Automation <bugzilla at FreeBSD.org> has asked kde at FreeBSD.org for
maintainer-feedback:
Bug 235883: devel/qca does not build with option OPENSSL and ssl=libressl
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235883



--- Description ---
I am using libressl as default SSL for my FreeBSD desktop (PC-BSD based).
qca-qt5 does not build if I have option OPENSSL enabled

/wrkdirs/usr/ports/devel/qca/work-qt5/qca-2.1.3/plugins/qca-ossl/qca-ossl.cpp:2
835:4:
error: use of undeclared identifier 'RSA_meth_set_sign'; did you mean
'DSA_meth_set_sign'?
			RSA_meth_set_sign(ops, NULL);
			^~~~~~~~~~~~~~~~~
			DSA_meth_set_sign
/usr/local/include/openssl/dsa.h:275:5: note: 'DSA_meth_set_sign' declared here
int DSA_meth_set_sign(DSA_METHOD *meth,
    ^
/wrkdirs/usr/ports/devel/qca/work-qt5/qca-2.1.3/plugins/qca-ossl/qca-ossl.cpp:2
835:22:
error: cannot initialize a parameter of type 'DSA_METHOD *' (aka 'dsa_method
*') with an lvalue of type 'RSA_METHOD *' (aka 'rsa_meth_st *')
			RSA_meth_set_sign(ops, NULL);
					  ^~~
/usr/local/include/openssl/dsa.h:275:35: note: passing argument to parameter
'meth' here
int DSA_meth_set_sign(DSA_METHOD *meth,
				  ^
/wrkdirs/usr/ports/devel/qca/work-qt5/qca-2.1.3/plugins/qca-ossl/qca-ossl.cpp:2
839:4:
error: use of undeclared identifier 'RSA_meth_set_verify'; did you mean
'RSA_meth_set_finish'?
			RSA_meth_set_verify(ops, NULL); //pkcs11_rsa_verify
			^~~~~~~~~~~~~~~~~~~
			RSA_meth_set_finish
/usr/local/include/openssl/rsa.h:442:5: note: 'RSA_meth_set_finish' declared
here
int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa));
    ^
/wrkdirs/usr/ports/devel/qca/work-qt5/qca-2.1.3/plugins/qca-ossl/qca-ossl.cpp:2
860:11:
error: use of undeclared identifier 'RSA_F_RSA_OSSL_PRIVATE_DECRYPT'
			RSAerr(RSA_F_RSA_OSSL_PRIVATE_DECRYPT,
RSA_R_UNKNOWN_PADDING_TYPE);


More information about the kde-freebsd mailing list