aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-chi Yeh <chiachi@android.com>2010-09-30 15:35:51 +0800
committerChia-chi Yeh <chiachi@android.com>2010-09-30 15:35:51 +0800
commitf5d0d0919f6c0b82611c1f8ad0cb6023a78b6ce0 (patch)
tree899635f7c719e359670bd04fdd68f0126d2dfd29
parent862972dbfb453593a85fb0f41be769e2be0e5b29 (diff)
downloadipsec-tools-gingerbread-mr4-release.tar.gz
Change-Id: I589c18af8095a4461ef9cc52489a2d0864872762
-rw-r--r--setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 94cc9b8..b56c503 100644
--- a/setup.c
+++ b/setup.c
@@ -261,6 +261,7 @@ void setup(int argc, char **argv)
pre_shared_key = argv[3];
auth = OAKLEY_ATTR_AUTH_METHOD_PSKEY;
} else {
+ remoteconf.idvtype = IDTYPE_ASN1DN;
remoteconf.myprivfile = argv[3];
remoteconf.mycertfile = argv[4];
remoteconf.cacertfile = argv[5];