commit | f5d0d0919f6c0b82611c1f8ad0cb6023a78b6ce0 | [log] [tgz] |
---|---|---|
author | Chia-chi Yeh <chiachi@android.com> | Thu Sep 30 15:35:51 2010 +0800 |
committer | Chia-chi Yeh <chiachi@android.com> | Thu Sep 30 15:35:51 2010 +0800 |
tree | 899635f7c719e359670bd04fdd68f0126d2dfd29 | |
parent | 862972dbfb453593a85fb0f41be769e2be0e5b29 [diff] |
ipsec-tools: Use IDTYPE_ASN1DN for certificate-based IPSec tunnels. Change-Id: I589c18af8095a4461ef9cc52489a2d0864872762
diff --git a/setup.c b/setup.c index 94cc9b8..b56c503 100644 --- a/setup.c +++ b/setup.c
@@ -261,6 +261,7 @@ 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];