Stefan Seyfried <seife+obs@b1-systems.com>
[vpnc.git] / crypto-openssl.h
blob57202ffc35978dfc5193f800034891ce610cf7f8
1 /* IPSec VPN client compatible with Cisco equipment.
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2 of the License, or
6 (at your option) any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 #ifndef OPENSSL_GPL_VIOLATION
19 #error "openssl support cannot be built without defining OPENSSL_GPL_VIOLATION"
20 #endif
22 #ifndef __CRYPTO_OPENSSL_H__
23 #define __CRYPTO_OPENSSL_H__
25 #include <openssl/x509.h>
26 #include <openssl/err.h>
28 typedef struct {
29 STACK_OF(X509) *stack;
30 } crypto_ctx;
32 #endif /* __CRYPTO_OPENSSL_H__ */