Bump for 3.6-28
[LibreOffice.git] / libxmlsec / xmlsec1-nssdisablecallbacks.patch
blobc6ed83a2c54d547628673f09ae3ad56007847ba6
1 --- misc/xmlsec1-1.2.14.orig/src/nss/crypto.c 2009-09-10 07:06:17.000000000 -0400
2 +++ misc/build/xmlsec1-1.2.14/src/nss/crypto.c 2009-09-10 07:08:24.000000000 -0400
3 @@ -136,6 +136,7 @@
4 /**
5 * High level routines form xmlsec command line utility
6 */
7 +#if 0
8 gXmlSecNssFunctions->cryptoAppInit = xmlSecNssAppInit;
9 gXmlSecNssFunctions->cryptoAppShutdown = xmlSecNssAppShutdown;
10 gXmlSecNssFunctions->cryptoAppDefaultKeysMngrInit = xmlSecNssAppDefaultKeysMngrInit;
11 @@ -153,6 +154,25 @@
12 gXmlSecNssFunctions->cryptoAppKeyLoad = xmlSecNssAppKeyLoad;
13 gXmlSecNssFunctions->cryptoAppKeyLoadMemory = xmlSecNssAppKeyLoadMemory;
14 gXmlSecNssFunctions->cryptoAppDefaultPwdCallback = (void*)xmlSecNssAppGetDefaultPwdCallback();
15 +#else
16 + gXmlSecNssFunctions->cryptoAppInit = NULL ;
17 + gXmlSecNssFunctions->cryptoAppShutdown = NULL ;
18 + gXmlSecNssFunctions->cryptoAppDefaultKeysMngrInit = NULL ;
19 + gXmlSecNssFunctions->cryptoAppDefaultKeysMngrAdoptKey = NULL ;
20 + gXmlSecNssFunctions->cryptoAppDefaultKeysMngrLoad = NULL ;
21 + gXmlSecNssFunctions->cryptoAppDefaultKeysMngrSave = NULL ;
22 +#ifndef XMLSEC_NO_X509
23 + gXmlSecNssFunctions->cryptoAppKeysMngrCertLoad = NULL ;
24 + gXmlSecNssFunctions->cryptoAppKeysMngrCertLoadMemory= NULL ;
25 + gXmlSecNssFunctions->cryptoAppPkcs12Load = NULL ;
26 + gXmlSecNssFunctions->cryptoAppPkcs12LoadMemory = NULL ;
27 + gXmlSecNssFunctions->cryptoAppKeyCertLoad = NULL ;
28 + gXmlSecNssFunctions->cryptoAppKeyCertLoadMemory = NULL ;
29 +#endif /* XMLSEC_NO_X509 */
30 + gXmlSecNssFunctions->cryptoAppKeyLoad = NULL ;
31 + gXmlSecNssFunctions->cryptoAppKeyLoadMemory = NULL ;
32 + gXmlSecNssFunctions->cryptoAppDefaultPwdCallback = (void*)NULL ;
33 +#endif
35 return(gXmlSecNssFunctions);