aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSansar Choinyambuu <schoinya@hsr.ch>2011-10-10 16:07:18 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-11-28 18:44:44 +0100
commitbae9346a29a2abb009d70b0dde8ba003c0872a40 (patch)
treea52c779265bb9fbf08ef44ee7b66380595ce4c98 /src
parentefcc2c639e6c451d71bc3dc7c9bc95246364f50e (diff)
downloadstrongswan-bae9346a29a2abb009d70b0dde8ba003c0872a40.tar.bz2
strongswan-bae9346a29a2abb009d70b0dde8ba003c0872a40.tar.xz
Get AIK certificate encoding in PUBKEY_ASN1_DER if it's just public key
Diffstat (limited to 'src')
-rw-r--r--src/libpts/pts/pts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libpts/pts/pts.c b/src/libpts/pts/pts.c
index 118585cce..c770c617f 100644
--- a/src/libpts/pts/pts.c
+++ b/src/libpts/pts/pts.c
@@ -27,6 +27,10 @@
#include <sys/utsname.h>
#include <errno.h>
+#include <openssl/asn1t.h>
+#include <openssl/x509.h>
+#include <openssl/rsa.h>
+
#define PTS_BUF_SIZE 4096
typedef struct private_pts_t private_pts_t;