From: Katy Feng Date: Tue, 22 Aug 2023 18:11:42 +0000 (-0700) Subject: Change to common source file not applicable to open-vm-tools. X-Git-Tag: stable-12.3.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=859849c55f34a777e6ac2a4e38aab30028b5207a;p=thirdparty%2Fopen-vm-tools.git Change to common source file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/vgauth/serviceImpl/saml-xmlsec1.c b/open-vm-tools/vgauth/serviceImpl/saml-xmlsec1.c index b1f97a942..d156de211 100644 --- a/open-vm-tools/vgauth/serviceImpl/saml-xmlsec1.c +++ b/open-vm-tools/vgauth/serviceImpl/saml-xmlsec1.c @@ -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 -- */ /**