[Webfunds-commits] java/webfunds/client Core.java

Ian Grigg iang@cypherpunks.ai
Fri, 6 Apr 2001 20:09:22 -0400 (AST)


iang        01/04/06 20:09:22

  Modified:    webfunds/client Core.java
  Log:
  moved the Provider code into the place it is used

Revision  Changes    Path
1.73      +4 -4      java/webfunds/client/Core.java

Index: Core.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/Core.java,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- Core.java	2001/04/03 13:56:07	1.72
+++ Core.java	2001/04/07 00:09:22	1.73
@@ -1,4 +1,4 @@
-/* $Id: Core.java,v 1.72 2001/04/03 13:56:07 iang Exp $
+/* $Id: Core.java,v 1.73 2001/04/07 00:09:22 iang Exp $
  *
  * Copyright (c) Systemics Inc. 1995-2000 on behalf of
  * The WebFunds Development Team.  All rights reserved.
@@ -24,7 +24,6 @@
 import webfunds.ricardian.ContractStore;
 import webfunds.ricardian.ContractException;
 import webfunds.ricardian.ContractDirectoryException;
-import webfunds.ricardian.IniFileReader;
 
 import webfunds.client.contracts.ChangeContractStore;
 import webfunds.client.plugins.PluginException;
@@ -82,9 +81,10 @@
          */
         this.random = SecureRandomHack.getInstance();
 
+        // Now in ContractStore where it is used
         // dynamically load the cryptix openpgp provider
-        Security.addProvider(new CryptixOpenPGP());
-        Security.addProvider(new webfunds.x509.provider.WebFundsX509());
+        // Security.addProvider(new CryptixOpenPGP());
+        // Security.addProvider(new webfunds.x509.provider.WebFundsX509());
 
         // read and set Properties
         Properties props = System.getProperties();