summaryrefslogtreecommitdiffstats
path: root/src/tests/asn.1/ktest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/asn.1/ktest.c')
-rw-r--r--src/tests/asn.1/ktest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/asn.1/ktest.c b/src/tests/asn.1/ktest.c
index a995d1d99..5700760af 100644
--- a/src/tests/asn.1/ktest.c
+++ b/src/tests/asn.1/ktest.c
@@ -680,7 +680,7 @@ krb5_error_code ktest_make_sample_etype_info(p)
info[i]->magic = KV5M_ETYPE_INFO_ENTRY;
}
free(info[1]->salt);
- info[1]->length = 0;
+ info[1]->length = -1;
info[1]->salt = 0;
*p = info;
return 0;