Print

Print


@jade2k11598 : thanks for all the details, let's focus on building with openssl3 
> Now I wish I can get this building against openssl3, 
my impression is this would be your preference and it is also ours.

Now the error you reported:

```
/Users/jade/thirdParty/root-6.26.00/build-dir/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdSec/openssl3/XrdSecProtect.cc:57:8: error: unknown type name 'EVP_MD_CTX'
static EVP_MD_CTX* EVP_MD_CTX_new() {
       ^
/Users/jade/thirdParty/root-6.26.00/build-dir/builtins/xrootd/XROOTD-prefix/src/XROOTD/src/XrdSec/openssl3/XrdSecProtect.cc:58:3: error: unknown type name 'EVP_MD_CTX'
  EVP_MD_CTX *ctx = (EVP_MD_CTX *)OPENSSL_malloc(sizeof(EVP_MD_CTX));
  ...
```

is due to a missing include: `openssl/evp.h`, this has been fixed in 34d1a1e7e6088a5ce0e8ac750db14db1ea7bd6fc
https://github.com/xrootd/xrootd/commit/34d1a1e7e6088a5ce0e8ac750db14db1ea7bd6fc#diff-5b3f6a82808172f6e5f51f3770d8444710164b8b17e1e5e6e50c22e9bbd02bb4R44

Could you please try building from `master` (the patch is not yet released), you shouldn't need to provide any special switch to enable openssl3 support (in master it is enabled by default, at least that's our intention)



-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1649#issuecomment-1069101817
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
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