aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/connections.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas@strongswan.org>2009-10-11 16:34:04 +0200
committerAndreas Steffen <andreas@strongswan.org>2009-10-11 16:34:04 +0200
commit0004ee16871084920c3a49e3d44404990635a223 (patch)
tree4ac35bc421436af97ca6b5df88667b406b3b3bac /src/pluto/connections.c
parent3197a20a871bf789e9dc811bce8e54e6db0e7db0 (diff)
downloadstrongswan-0004ee16871084920c3a49e3d44404990635a223.tar.bz2
strongswan-0004ee16871084920c3a49e3d44404990635a223.tar.xz
fixed refactoring bug
Diffstat (limited to 'src/pluto/connections.c')
-rw-r--r--src/pluto/connections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/connections.c b/src/pluto/connections.c
index a1cf2103e..1e707f409 100644
--- a/src/pluto/connections.c
+++ b/src/pluto/connections.c
@@ -798,7 +798,7 @@ static void load_end_certificate(char *filename, struct end *dst)
}
/* if no CA is defined, use issuer as default */
- if (dst->ca)
+ if (dst->ca == NULL)
{
certificate_t *certificate = dst->cert.u.x509->cert;
identification_t *issuer = certificate->get_issuer(certificate);