Use IDTYPE_ASN1DN when using certificates.

When using certificates, the server (racoon) checks whether the subjectAltName
matches the given identifier. Using the address as identifier is therefore
impossible for roadwarriors. Using the certificate's DN looks like a reasonable
alternative.

Change-Id: I9ed81478dc115276c807329228b2f9dfd4957b74
1 file changed