Make sure expression have constant value, for picky compilers.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19756 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-08 06:31:24 +00:00
parent 3b387b88b0
commit 265ce7ee85

View File

@@ -739,10 +739,11 @@ test_heim_oid_format_same(const char *str, const heim_oid *oid)
return ret;
}
static unsigned sha1_oid_tree[] = { 1, 3, 14, 3, 2, 26 };
static int
test_heim_oid_format(void)
{
unsigned sha1_oid_tree[] = { 1, 3, 14, 3, 2, 26 };
heim_oid sha1 = { 6, sha1_oid_tree };
int ret = 0;