summaryrefslogtreecommitdiff
path: root/programs/pluto/keys.h
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2007-01-28 20:57:54 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2007-01-28 20:57:54 +0000
commit808cf8b3174aa7ad0833ea69cb55753d21318c9c (patch)
treef616989731c65ab1b6361b3ae5fff5ffed2e0c0a /programs/pluto/keys.h
parent58d26e02cd8686e177eebb9fb81e6b17798bbb30 (diff)
downloadvyos-strongswan-808cf8b3174aa7ad0833ea69cb55753d21318c9c.tar.gz
vyos-strongswan-808cf8b3174aa7ad0833ea69cb55753d21318c9c.zip
[svn-upgrade] Integrating new upstream version, strongswan (2.8.1)
Diffstat (limited to 'programs/pluto/keys.h')
-rw-r--r--programs/pluto/keys.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/programs/pluto/keys.h b/programs/pluto/keys.h
index d47d8b0a2..2f6216b93 100644
--- a/programs/pluto/keys.h
+++ b/programs/pluto/keys.h
@@ -11,7 +11,7 @@
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
- * RCSID $Id: keys.h,v 1.7 2006/01/26 20:10:34 as Exp $
+ * RCSID $Id: keys.h,v 1.8 2007/01/10 00:36:19 as Exp $
*/
#ifndef _KEYS_H
@@ -31,15 +31,19 @@ const char *shared_secrets_file;
extern void load_preshared_secrets(int whackfd);
extern void free_preshared_secrets(void);
-struct state; /* forward declaration */
-
enum PrivateKeyKind {
PPK_PSK,
/* PPK_DSS, */ /* not implemented */
PPK_RSA,
+ PPK_XAUTH,
PPK_PIN
};
+extern void xauth_defaults(void);
+
+/* forward declaration */
+struct connection;
+
extern const chunk_t *get_preshared_secret(const struct connection *c);
extern err_t unpack_RSA_public_key(RSA_public_key_t *rsa, const chunk_t *pubkey);
extern const RSA_private_key_t *get_RSA_private_key(const struct connection *c);