aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/msquic/exports-for-msh3.diff
blob: 2daf4bc08663cf4376817ec885c903f1504f4274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
diff --git a/src/bin/darwin/exports.txt b/src/bin/darwin/exports.txt
index e90b06e..c221d2c 100644
--- a/src/bin/darwin/exports.txt
+++ b/src/bin/darwin/exports.txt
@@ -1,2 +1,6 @@
 _MsQuicOpenVersion
 _MsQuicClose
+_CxPlatGetSelfSignedCert
+_CxPlatFreeSelfSignedCert
+_CxPlatLogAssert
+_quic_bugcheck
diff --git a/src/bin/linux/exports.txt b/src/bin/linux/exports.txt
index e11806a..424c443 100644
--- a/src/bin/linux/exports.txt
+++ b/src/bin/linux/exports.txt
@@ -1,5 +1,9 @@
 msquic
 {
   global: MsQuicOpenVersion; MsQuicClose;
+          CxPlatGetSelfSignedCert;
+          CxPlatFreeSelfSignedCert;
+          CxPlatLogAssert;
+          quic_bugcheck;
   local: *;
 };
diff --git a/src/bin/linux/init.c b/src/bin/linux/init.c
index 29bfa14..61bbc48 100644
--- a/src/bin/linux/init.c
+++ b/src/bin/linux/init.c
@@ -9,8 +9,15 @@ Abstract:
 
 --*/
 
+#define QUIC_TEST_APIS 1
 #include "quic_platform.h"
 
+void MsQuickChainLoadPlatformSymbolsNoOp()
+{
+    QUIC_CREDENTIAL_CONFIG* SelfSignedCertParams = (QUIC_CREDENTIAL_CONFIG*)CxPlatGetSelfSignedCert(CXPLAT_SELF_SIGN_CERT_USER, FALSE, NULL);
+    CxPlatFreeSelfSignedCert(SelfSignedCertParams);
+}
+
 void
 MsQuicLibraryLoad(
     void
diff --git a/src/bin/winuser/msquic.def.in b/src/bin/winuser/msquic.def.in
index afaed5d..fa7d19a 100644
--- a/src/bin/winuser/msquic.def.in
+++ b/src/bin/winuser/msquic.def.in
@@ -3,3 +3,6 @@ LIBRARY @QUIC_LIBRARY_NAME@
 EXPORTS
     MsQuicOpenVersion
     MsQuicClose
+    CxPlatGetSelfSignedCert
+    CxPlatFreeSelfSignedCert
+    CxPlatLogAssert