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