Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: third_party/libxslt/libxslt/security.c

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no iconv Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libxslt/libxslt/security.h ('k') | third_party/libxslt/libxslt/templates.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libxslt/libxslt/security.c
diff --git a/third_party/libxslt/libxslt/security.c b/third_party/libxslt/libxslt/security.c
index 54a736e4848441dfb704f3e55a87a524230bbcf0..89de90bd3f1ebdb09310f562a35bcd599824b379 100644
--- a/third_party/libxslt/libxslt/security.c
+++ b/third_party/libxslt/libxslt/security.c
@@ -181,7 +181,7 @@ xsltGetSecurityPrefs(xsltSecurityPrefsPtr sec, xsltSecurityOption option) {
*/
void
xsltSetDefaultSecurityPrefs(xsltSecurityPrefsPtr sec) {
-
+
xsltDefaultSecurityPrefs = sec;
}
@@ -206,7 +206,7 @@ xsltGetDefaultSecurityPrefs(void) {
*
* Returns -1 in case of error, 0 otherwise
*/
-int
+int
xsltSetCtxtSecurityPrefs(xsltSecurityPrefsPtr sec,
xsltTransformContextPtr ctxt) {
if (ctxt == NULL)
@@ -265,7 +265,7 @@ xsltSecurityForbid(xsltSecurityPrefsPtr sec ATTRIBUTE_UNUSED,
*
* TODO: remove at some point !!!
* Local copy of xmlCheckFilename to avoid a hard dependency on
- * a new version of libxml2
+ * a new version of libxml2
*
* if stat is not available on the target machine,
* returns 1. if stat fails, returns 0 (if calling
@@ -282,7 +282,7 @@ xsltCheckFilename (const char *path)
#if defined(WIN32) && !defined(__CYGWIN__)
DWORD dwAttrs;
- dwAttrs = GetFileAttributesA(path);
+ dwAttrs = GetFileAttributesA(path);
if (dwAttrs != INVALID_FILE_ATTRIBUTES) {
if (dwAttrs & FILE_ATTRIBUTE_DIRECTORY) {
return 2;
« no previous file with comments | « third_party/libxslt/libxslt/security.h ('k') | third_party/libxslt/libxslt/templates.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698