]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to common source file not applicable to open-vm-tools.
authorKaty Feng <fkaty@vmware.com>
Tue, 22 Aug 2023 18:11:42 +0000 (11:11 -0700)
committerKaty Feng <fkaty@vmware.com>
Tue, 22 Aug 2023 18:11:42 +0000 (11:11 -0700)
open-vm-tools/vgauth/serviceImpl/saml-xmlsec1.c

index b1f97a942f738ea7a0180ea3300a92a4662d06d3..d156de2112bfdf38ffe1bdcd49cf74f78a35f9cf 100644 (file)
@@ -569,6 +569,18 @@ FreeCertArray(int num,
 }
 
 
+/*
+ * Public API for use by the unit tests.
+ */
+
+void
+SAML_FreeCertArray(int num,
+                   gchar **certs)
+{
+   FreeCertArray(num, certs);
+}
+
+
 /*
  ******************************************************************************
  * FindAttrValue --                                                      */ /**
@@ -1395,6 +1407,21 @@ done:
 }
 
 
+/*
+ * Public API for use by the unit tests.
+ */
+
+gboolean
+SAML_VerifySignature(xmlDocPtr doc,
+                     int *numCerts,
+                     gchar ***certChain)
+{
+   return VerifySignature(doc,
+                          numCerts,
+                          certChain);
+}
+
+
 /*
  ******************************************************************************
  * VerifySAMLToken --                                                    */ /**