Add tqca-tls plugin to the tqca package.
Signed-off-by: gregory guy <gregory-tde@laposte.net> Signed-off-by: Slavek Banko <slavek.banko@axis.cz>pull/3/head
parent
62c2a21259
commit
99ec4964d0
@ -0,0 +1,27 @@
|
|||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${CMAKE_SOURCE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
add_definitions( -DTQCA_PLUGIN )
|
||||||
|
|
||||||
|
|
||||||
|
##### tqca-tls (shared)
|
||||||
|
|
||||||
|
tde_add_library( tqca-tls SHARED NO_LIBTOOL_FILE AUTOMOC
|
||||||
|
|
||||||
|
SOURCES
|
||||||
|
tqca-tls.cpp
|
||||||
|
LINK
|
||||||
|
${TQT_LIBRARIES}
|
||||||
|
${SSL_LIBRARIES}
|
||||||
|
|
||||||
|
DESTINATION ${TQT_PLUGINS_CRYPTO_DIR}
|
||||||
|
)
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,35 @@
|
|||||||
|
/*
|
||||||
|
* qca-tls.h - TLS plugin for TQCA
|
||||||
|
* Copyright (C) 2003 Justin Karneges
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef TQCA_TLS_H
|
||||||
|
#define TQCA_TLS_H
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "../tqcaprovider.h"
|
||||||
|
|
||||||
|
#ifdef TQCA_PLUGIN
|
||||||
|
TQCA_PLUGIN_EXPORT TQCAProvider *createProvider();
|
||||||
|
#else
|
||||||
|
TQCAProvider *createProviderTLS();
|
||||||
|
#endif
|
||||||
|
#endif
|
Loading…
Reference in New Issue