Tagging module util-vserver - util-vserver-0.30.215-6
[util-vserver.git] / lib_internal / crypto-wrapper.h
1 /*      --*- c -*--
2  * Copyright (C) 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; version 2 and/or 3 of the License.
7  *
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.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16
17 #ifndef H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_H
18 #define H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_H
19
20 #define ENSC_CRYPTO_API_NSS             1
21 #define ENSC_CRYPTO_API_BEECRYPT        2
22
23 #if ENSC_CRYPTO_API == ENSC_CRYPTO_API_BEECRYPT
24 #include "crypto-wrapper-beecrypt.h"
25 #elif ENSC_CRYPTO_API == ENSC_CRYPTO_API_NSS
26 #include "crypto-wrapper-nss.h"
27 #else
28 #error undefined crypto API
29 #endif
30
31 #endif  /* H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_H */