@gganis commented on this pull request. > @@ -1423,3 +1423,16 @@ int XrdCryptosslX509CheckProxy3(XrdCryptoX509 *xcpi, XrdOucString &emsg) { // Done return 0; } + +//____________________________________________________________________________ +const EVP_MD *XrdCryptosslSHAFun() { + // + // SHA function + // Default SHA-256, controlled by var XrdCryptoGSISHA + static const EVP_MD *sslSHAFun = 0; + if (!sslSHAFun) { + const char *_md = getenv("XrdCryptoGSISHA") ? getenv("XrdCryptoGSISHA") : "sha256"; + sslSHAFun = EVP_get_digestbyname(_md); Ok, so to make it cleaner I close this PR and make another one only with the initial changes, not to pollute the history. -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/1999#discussion_r1169003345 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