tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jni/native/src sslcontext.c sslnetwork.c sslutils.c
Date Tue, 24 May 2005 10:53:21 GMT
mturk       2005/05/24 03:53:20

  Added:       jni/native/src sslcontext.c sslnetwork.c sslutils.c
  Log:
  Initial implementation.
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat-connectors/jni/native/src/sslcontext.c
  
  Index: sslcontext.c
  ===================================================================
  /* Copyright 2000-2004 The Apache Software Foundation
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  /** SSL Context wrapper
   *
   * @author Mladen Turk
   * @version $Revision: 1.1 $, $Date: 2005/05/24 10:53:20 $
   */
  
  #include "apr.h"
  #include "apr_pools.h"
  #include "apr_file_io.h"
  #include "apr_portable.h"
  #include "apr_thread_mutex.h"
  
  #include "tcn.h"
  
  #ifdef HAVE_OPENSSL
  #include "ssl_private.h"
  
  #else
  /* OpenSSL is not supported
   * If someday we make OpenSSL optional
   * APR_ENOTIMPL will go here
   */
  #error "No OpenSSL Toolkit defined."
  #endif
  
  
  
  1.1                  jakarta-tomcat-connectors/jni/native/src/sslnetwork.c
  
  Index: sslnetwork.c
  ===================================================================
  /* Copyright 2000-2004 The Apache Software Foundation
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  /** SSL network wrapper
   *
   * @author Mladen Turk
   * @version $Revision: 1.1 $, $Date: 2005/05/24 10:53:20 $
   */
  
  #include "apr.h"
  #include "apr_pools.h"
  #include "apr_file_io.h"
  #include "apr_portable.h"
  #include "apr_thread_mutex.h"
  
  #include "tcn.h"
  
  #ifdef HAVE_OPENSSL
  #include "ssl_private.h"
  
  #else
  /* OpenSSL is not supported
   * If someday we make OpenSSL optional
   * APR_ENOTIMPL will go here
   */
  #error "No OpenSSL Toolkit defined."
  #endif
  
  
  
  1.1                  jakarta-tomcat-connectors/jni/native/src/sslutils.c
  
  Index: sslutils.c
  ===================================================================
  /* Copyright 2000-2004 The Apache Software Foundation
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  /** SSL Utilities
   *
   * @author Mladen Turk
   * @version $Revision: 1.1 $, $Date: 2005/05/24 10:53:20 $
   */
  
  #include "apr.h"
  #include "apr_pools.h"
  #include "apr_file_io.h"
  #include "apr_portable.h"
  #include "apr_thread_mutex.h"
  
  #include "tcn.h"
  
  #ifdef HAVE_OPENSSL
  #include "ssl_private.h"
  
  #else
  /* OpenSSL is not supported
   * If someday we make OpenSSL optional
   * APR_ENOTIMPL will go here
   */
  #error "No OpenSSL Toolkit defined."
  #endif
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message