Print

Print


I also tried to build with openssl 3.0.0 usingcmake .. [log in to unmask] [log in to unmask] -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@3/include and also unsuccessfully:

Consolidate compiler generated dependencies of target XrdUtils
[  0%] Building CXX object src/CMakeFiles/XrdUtils.dir/XrdCrypto/XrdCryptosslRSA.cc.o
/Users/oshadura/CERN_sources/xrootd/src/XrdCrypto/XrdCryptosslRSA.cc:504:19: error: no matching function for call to 'RSA_private_encrypt'
      if ((lout = RSA_private_encrypt(lc, (unsigned char *)&in[kk],
                  ^~~~~~~~~~~~~~~~~~~
[log in to unmask]:285:5: note: candidate function not viable: 4th argument ('const struct rsa_st *') would lose const qualifier
int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
    ^
/Users/oshadura/CERN_sources/xrootd/src/XrdCrypto/XrdCryptosslRSA.cc:555:19: error: no matching function for call to 'RSA_public_encrypt'
      if ((lout = RSA_public_encrypt(lc, (unsigned char *)&in[kk],
                  ^~~~~~~~~~~~~~~~~~
[log in to unmask]:282:5: note: candidate function not viable: 4th argument ('const struct rsa_st *') would lose const qualifier
int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
    ^
/Users/oshadura/CERN_sources/xrootd/src/XrdCrypto/XrdCryptosslRSA.cc:605:19: error: no matching function for call to 'RSA_private_decrypt'
      if ((lout = RSA_private_decrypt(lcmax, (unsigned char *)&in[kk],
                  ^~~~~~~~~~~~~~~~~~~
[log in to unmask]:291:5: note: candidate function not viable: 4th argument ('const struct rsa_st *') would lose const qualifier
int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
    ^
/Users/oshadura/CERN_sources/xrootd/src/XrdCrypto/XrdCryptosslRSA.cc:654:19: error: no matching function for call to 'RSA_public_decrypt'
      if ((lout = RSA_public_decrypt(lcmax, (unsigned char *)&in[kk],
                  ^~~~~~~~~~~~~~~~~~
[log in to unmask]:288:5: note: candidate function not viable: 4th argument ('const struct rsa_st *') would lose const qualifier
int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
    ^
4 errors generated.
make[2]: *** [src/CMakeFiles/XrdUtils.dir/XrdCrypto/XrdCryptosslRSA.cc.o] Error 1
make[1]: *** [src/CMakeFiles/XrdUtils.dir/all] Error 2
make: *** [all] Error 2


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1558#issuecomment-971608052", "url": "https://github.com/xrootd/xrootd/issues/1558#issuecomment-971608052", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1