aboutsummaryrefslogtreecommitdiffstats
path: root/src/conftest/hooks/unencrypted_notify.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-09-28 17:08:16 +0200
committerTobias Brunner <tobias@strongswan.org>2012-09-28 17:09:16 +0200
commit3dcffed682987ba627e79bbdfe6ffe1b981c04bf (patch)
tree6fd3fa9c4321867843797126b4e92208fb419448 /src/conftest/hooks/unencrypted_notify.c
parent9a1ba213f48692069757a252f5fd492be20e4ace (diff)
downloadstrongswan-3dcffed6.tar.bz2
strongswan-3dcffed6.tar.xz
The this->data member is never NULL
Diffstat (limited to 'src/conftest/hooks/unencrypted_notify.c')
-rw-r--r--src/conftest/hooks/unencrypted_notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conftest/hooks/unencrypted_notify.c b/src/conftest/hooks/unencrypted_notify.c
index 958e33e98..f4c35725c 100644
--- a/src/conftest/hooks/unencrypted_notify.c
+++ b/src/conftest/hooks/unencrypted_notify.c
@@ -80,7 +80,7 @@ METHOD(listener_t, ike_updown, bool,
data = chunk_skip(chunk_create(this->data, strlen(this->data)), 2);
data = chunk_from_hex(data, NULL);
}
- else if (this->data && strlen(this->data))
+ else if (strlen(this->data))
{
data = chunk_clone(chunk_create(this->data, strlen(this->data)));
}