Merge branch 'debian-testing'
[strongswan.git] / src / conftest / hooks / add_notify.c
index e3fbbc8..9611cad 100644 (file)
@@ -85,7 +85,7 @@ METHOD(listener_t, message, bool,
                        data = chunk_skip(chunk_create(this->data, strlen(this->data)), 2);
                        data = chunk_from_hex(data, NULL);
                }
                        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)));
                }
                {
                        data = chunk_clone(chunk_create(this->data, strlen(this->data)));
                }