diff options
Diffstat (limited to 'sntp/tests/keyFile.c')
-rw-r--r-- | sntp/tests/keyFile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sntp/tests/keyFile.c b/sntp/tests/keyFile.c index 395ca0dc10e8c..af5acc703b0a1 100644 --- a/sntp/tests/keyFile.c +++ b/sntp/tests/keyFile.c @@ -32,9 +32,9 @@ CompareKeys( expected.key_len, actual.key_len); return FALSE; } - if (strcmp(expected.type, actual.type) != 0) { + if (strcmp(expected.typen, actual.typen) != 0) { printf("Expected key_type: %s but was: %s\n", - expected.type, actual.type); + expected.typen, actual.typen); return FALSE; } @@ -59,7 +59,7 @@ CompareKeysAlternative( temp.key_id = key_id; temp.key_len = key_len; - strlcpy(temp.type, type, sizeof(temp.type)); + strlcpy(temp.typen, type, sizeof(temp.typen)); memcpy(temp.key_seq, key_seq, key_len); return CompareKeys(temp, actual); |