diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-06-06 13:13:11 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-06-09 11:03:33 +0200 |
commit | d17a1205982eae5c92203a0a77d1a8553e108972 (patch) | |
tree | ac110fda38a514fbd7fb52b3fbc2b9922f785393 /src/pluto/certs.h | |
parent | ca062e48ee5af152db2a23cb3684d3a8ce8c2b03 (diff) | |
download | strongswan-d17a1205982eae5c92203a0a77d1a8553e108972.tar.bz2 strongswan-d17a1205982eae5c92203a0a77d1a8553e108972.tar.xz |
fixed OpenPGP parsing
Diffstat (limited to 'src/pluto/certs.h')
-rw-r--r-- | src/pluto/certs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pluto/certs.h b/src/pluto/certs.h index a88fc152e..0810c52fa 100644 --- a/src/pluto/certs.h +++ b/src/pluto/certs.h @@ -55,16 +55,17 @@ typedef struct { } cert_t; /* used for initialization */ -extern const cert_t empty_cert; +extern const cert_t cert_empty; /* do not send certificate requests * flag set in plutomain.c and used in ipsec_doi.c */ extern bool no_cr_send; +extern public_key_t* cert_get_public_key(const cert_t cert); +extern chunk_t cert_get_encoding(cert_t cert); extern private_key_t* load_private_key(char* filename, prompt_pass_t *pass, key_type_t type); -extern chunk_t get_mycert(cert_t cert); extern bool load_coded_file(char *filename, prompt_pass_t *pass, const char *type, chunk_t *blob, bool *pgp); extern bool load_cert(char *filename, const char *label, cert_t *cert); |