summaryrefslogtreecommitdiff
path: root/unit/test-pbkdf2-sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'unit/test-pbkdf2-sha1.c')
-rw-r--r--unit/test-pbkdf2-sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/test-pbkdf2-sha1.c b/unit/test-pbkdf2-sha1.c
index 5c8e7f40..71e1d4e2 100644
--- a/unit/test-pbkdf2-sha1.c
+++ b/unit/test-pbkdf2-sha1.c
@@ -199,7 +199,7 @@ static void psk_test(gconstpointer data)
unsigned int i;
int result;
- if (test->network == NULL) {
+ if (!test->network) {
memcpy(ssid, test->ssid, test->ssid_len);
ssid_len = test->ssid_len;
} else {