CVS: beepcore-java/tls/org/beepcore/beep/profile/tls/ptls TLSProfilePureTLSPemInit.java,1.4,1.5

Huston Franklin <[email protected]> Sat, 07 Jun 2003 10:29:50 -0700
Newsgroups gmane.network.beep.beepcore.java.cvs
Message-ID <[email protected]>
Update of /cvsroot/beepcore-java/beepcore-java/tls/org/beepcore/beep/profile/tls/ptls
In directory sc8-pr-cvs1:/tmp/cvs-serv7279/tls/org/beepcore/beep/profile/tls/ptls

Modified Files:
	TLSProfilePureTLSPemInit.java 
Log Message:
cleanup

Index: TLSProfilePureTLSPemInit.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/tls/org/beepcore/beep/profile/tls/ptls/TLSProfilePureTLSPemInit.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** TLSProfilePureTLSPemInit.java	9 Nov 2001 18:41:23 -0000	1.4
--- TLSProfilePureTLSPemInit.java	7 Jun 2003 17:29:47 -0000	1.5
***************
*** 30,34 ****
  import java.io.*;
  
- import COM.claymoresystems.ptls.*;
  import COM.claymoresystems.sslg.*;
  import COM.claymoresystems.cert.*;
--- 30,33 ----
***************
*** 67,71 ****
          "Trusted Certificates";
  
!     private TLSProfilePureTLS tlsp = new TLSProfilePureTLS();
  
      /**
--- 66,77 ----
          "Trusted Certificates";
  
!     private TLSProfilePureTLS tlsp = null;
! 
!     /**
!      * Default constructor
!      */
!     public TLSProfilePureTLSPemInit(){
!         tlsp = new TLSProfilePureTLS();
!     }
  
      /**
***************
*** 134,137 ****
--- 140,145 ----
                  tlsp.setNeedPeerAuthentication(false);
              }
+         }else{
+             tlsp.setNeedPeerAuthentication(true);
          }
          // set the cipher suites



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.