~ubuntu-branches/ubuntu/maverick/libpgjava/maverick

« back to all changes in this revision

Viewing changes to org/postgresql/ssl/MakeSSL.java

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2008-04-26 22:01:11 UTC
  • mfrom: (3.1.4 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080426220111-yasgxtas5smx2qm3
Tags: 8.2-504-2
* Updated description to mention PostgreSQL 8.3 as supported.
  Closes: #398348
* Removed libpgjava transitional package. Closes: #477557
* Moved debhelper and cdbs from Build-Depends-Indep to Build-Depends.
* Added Homepage, Vcs-Svn and Vcs-Browser fields.
* Added watch file.
* Added myself to Uploaders.
* Removed Stafan and Wolfgang from Uploaders.
* Updated Standards-Version to 3.7.3
* Updated debhelper level to 5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
* Copyright (c) 2004-2005, PostgreSQL Global Development Group
4
4
*
5
5
* IDENTIFICATION
6
 
*   $PostgreSQL: pgjdbc/org/postgresql/ssl/MakeSSL.java,v 1.4 2005/01/11 08:25:47 jurka Exp $
 
6
*   $PostgreSQL: pgjdbc/org/postgresql/ssl/MakeSSL.java,v 1.5 2005/11/24 02:29:22 oliver Exp $
7
7
*
8
8
*-------------------------------------------------------------------------
9
9
*/
17
17
 
18
18
import org.postgresql.Driver;
19
19
import org.postgresql.core.PGStream;
 
20
import org.postgresql.core.Logger;
20
21
import org.postgresql.util.GT;
21
22
import org.postgresql.util.PSQLState;
22
23
import org.postgresql.util.PSQLException;
23
24
 
24
25
public class MakeSSL {
25
 
 
26
 
    public static void convert(PGStream stream, Properties info) throws IOException, PSQLException {
27
 
        if (Driver.logDebug)
28
 
            Driver.debug("converting regular socket connection to ssl");
 
26
    public static void convert(PGStream stream, Properties info, Logger logger) throws IOException, PSQLException {
 
27
        logger.debug("converting regular socket connection to ssl");
29
28
 
30
29
        SSLSocketFactory factory;
31
30