@gganis commented on this pull request.
In src/XrdCrypto/XrdCryptosslgsiAux.cc:
> @@ -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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
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