aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-11-02 11:50:04 -0700
committerAndroid Code Review <code-review@android.com>2010-11-02 11:50:04 -0700
commit63ac5af0348d8e5f8319331e4772e9a4cee7cd8b (patch)
tree5bf1f387b44da3f06c829fd2c925bd0039b4441c
parent4fe3597dce855ea199afa239498c9c1833a6fe48 (diff)
parent4c7533e7bbe7f25e4ec3afd8325570b04687e846 (diff)
downloadipsec-tools-tools_r8.tar.gz
Merge "Use IDTYPE_ASN1DN when using certificates."tools_r9tools_r8froyo-plus-aosp
-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];