28c28
< __FBSDID("$FreeBSD: head/sys/geom/eli/g_eli.c 206665 2010-04-15 16:34:06Z pjd $");
---
> __FBSDID("$FreeBSD: head/sys/geom/eli/g_eli.c 211927 2010-08-28 08:30:20Z pjd $");
387c387,389
< if (!(sc->sc_flags & G_ELI_FLAG_NATIVE_BYTE_ORDER))
---
> if ((sc->sc_flags & G_ELI_FLAG_NATIVE_BYTE_ORDER) != 0)
> bcopy(&offset, off, sizeof(off));
> else
391c393
< SHA256_Update(&ctx, (uint8_t *)&offset, sizeof(offset));
---
> SHA256_Update(&ctx, off, sizeof(off));
547c549
< if (md->md_version < 2)
---
> if (md->md_version < 4)
< __FBSDID("$FreeBSD: head/sys/geom/eli/g_eli.c 206665 2010-04-15 16:34:06Z pjd $");
---
> __FBSDID("$FreeBSD: head/sys/geom/eli/g_eli.c 211927 2010-08-28 08:30:20Z pjd $");
387c387,389
< if (!(sc->sc_flags & G_ELI_FLAG_NATIVE_BYTE_ORDER))
---
> if ((sc->sc_flags & G_ELI_FLAG_NATIVE_BYTE_ORDER) != 0)
> bcopy(&offset, off, sizeof(off));
> else
391c393
< SHA256_Update(&ctx, (uint8_t *)&offset, sizeof(offset));
---
> SHA256_Update(&ctx, off, sizeof(off));
547c549
< if (md->md_version < 2)
---
> if (md->md_version < 4)