set session ID when TLS resume is enabled (#75435)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Tue, 13 Sep 2022 03:45:12 +0000 (20:45 -0700)
committerGitHub <noreply@github.com>
Tue, 13 Sep 2022 03:45:12 +0000 (20:45 -0700)
commitecf9f2f1ab416cfcfd4fce0c3dab52c6724b65e2
treef45d57a467ffd26918c013d48a3d7e364dc28acf
parent32ac664fca93cb692597e75021ae5e8ee7b75b1c
set session ID when TLS resume is enabled (#75435)

* set session ID when TLS resume is enabled

* feedback from review

* remove random.h

* Apply suggestions from code review

Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
src/libraries/Common/src/Interop/Unix/System.Security.Cryptography.Native/Interop.OpenSsl.cs
src/libraries/Common/src/Interop/Unix/System.Security.Cryptography.Native/Interop.SslCtx.cs
src/native/libs/System.Security.Cryptography.Native/opensslshim.h
src/native/libs/System.Security.Cryptography.Native/pal_ssl.c
src/native/libs/System.Security.Cryptography.Native/pal_ssl.h