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
Move definition
  • Loading branch information
rzikm committed May 27, 2024
commit ea1e9febc561a84b5abac29c474cbd78e56118fc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "pal_utilities.h"
#include "pal_safecrt.h"
#include "pal_x509.h"
#include "pal_ssl.h"
#include "openssl.h"

#ifdef FEATURE_DISTRO_AGNOSTIC_SSL
Expand Down
4 changes: 0 additions & 4 deletions src/native/libs/System.Security.Cryptography.Native/openssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
#include "pal_compiler.h"
#include "opensslshim.h"

// index for storing an opaque pointer of used (client) certificate in SSL_SESSION.
// we need dedicated index in order to tell OpenSSL how to copy the pointer during SSL_SESSION_dup.
extern int g_ssl_sess_cert_index;

PALEXPORT int32_t CryptoNative_GetX509Thumbprint(X509* x509, uint8_t* pBuf, int32_t cBuf);

PALEXPORT const ASN1_TIME* CryptoNative_GetX509NotBefore(X509* x509);
Expand Down
4 changes: 4 additions & 0 deletions src/native/libs/System.Security.Cryptography.Native/pal_ssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
#include "pal_compiler.h"
#include "opensslshim.h"

// index for storing an opaque pointer of used (client) certificate in SSL_SESSION.
// we need dedicated index in order to tell OpenSSL how to copy the pointer during SSL_SESSION_dup.
extern int g_ssl_sess_cert_index;

/*
These values should be kept in sync with System.Security.Authentication.SslProtocols.
*/
Expand Down