Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
  • Loading branch information
rzikm committed May 27, 2024
commit ca364a7ee603fed4d49837a70e1a0d3e7cf5b6fb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ internal static SafeSslHandle AllocateSslHandle(SslAuthenticationOptions sslAuth
}
else
{
var key = new SslContextCacheKey(protocols, sslAuthenticationOptions.CertificateContext?.TargetCertificate.GetCertHash());
var key = new SslContextCacheKey(protocols, sslAuthenticationOptions.CertificateContext?.TargetCertificate.GetCertHash(HashAlgorithmName.SHA256));
s_clientSslContexts.TryGetValue(key, out sslCtxHandle);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,6 @@ static void ExDataFreeNoOp(
// do nothing.
}


static int ExDataDupNoOp(
CRYPTO_EX_DATA* to,
#if OPENSSL_VERSION_NUMBER >= OPENSSL_VERSION_1_1_0_RTM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ Shims the SSL_session_reused macro.
PALEXPORT int32_t CryptoNative_SslSessionReused(SSL* ssl);

/*
Sets app data pointer to given session instance.
Sets the app data pointer for the given session instance.
*/
PALEXPORT void CryptoNative_SslSessionSetData(SSL_SESSION* session, void* val);

Expand Down