bloritsch    01/10/24 09:24:34

  Modified:    src/org/apache/jmeter/util JsseSSLManager.java
  Log:
  Add support to print out debug messages.
  
  Revision  Changes    Path
  1.2       +6 -2      jakarta-jmeter/src/org/apache/jmeter/util/JsseSSLManager.java
  
  Index: JsseSSLManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/util/JsseSSLManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JsseSSLManager.java       2001/10/24 15:46:55     1.1
  +++ JsseSSLManager.java       2001/10/24 16:24:34     1.2
  @@ -76,11 +76,11 @@
    * make a decision, it will pop open a dialog asking you for more information.
    *
    * @author <a href="[EMAIL PROTECTED]">Berin Loritsch</a>
  - * @version CVS $Revision: 1.1 $ $Date: 2001/10/24 15:46:55 $
  + * @version CVS $Revision: 1.2 $ $Date: 2001/10/24 16:24:34 $
    */
   public class JsseSSLManager extends SSLManager {
       /** Cache the SecureRandom instance because it takes a long time to create */
  -    private static SecureRandom rand;
  +    private SecureRandom rand;
   
       /** Cache the KeyStore instance */
       private KeyStore keyStore;
  @@ -232,6 +232,10 @@
       protected JsseSSLManager(Provider sslProvider) {
           if (null == this.rand) {
               this.rand = new SecureRandom();
  +        }
  +
  +        if ("true".equalsIgnoreCase(JMeterUtils.getPropDefault("debug.ssl", 
"false"))) {
  +            System.setProperty("javax.net.debug", "all");
           }
   
           try {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to