Commit 7d63765d authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Always ignore ___elvin_ordered___ ordered flag, even when ELVIN_COMPAT

not defined. This is the single cause of incompatibility between elvin
compat and no elvin compat, that cannot be solved.
parent c6bbf83e
...@@ -1487,14 +1487,13 @@ hmac_traverse(void *rock, char *name, ...@@ -1487,14 +1487,13 @@ hmac_traverse(void *rock, char *name,
if (!strcmp(name, "__hmac__")) if (!strcmp(name, "__hmac__"))
return 1; return 1;
#ifdef ELVIN_COMPAT
/* /*
* The elvin gateway sticks this flag in, but we need to ignore it * The elvin gateway sticks this flag in, but we need to ignore it
* when doing hmac computation. * when doing hmac computation.
*/ */
if (!strcmp(name, "___elvin_ordered___")) if (!strcmp(name, "___elvin_ordered___"))
return 1; return 1;
#endif
switch (type) { switch (type) {
case INT32_TYPE: case INT32_TYPE:
HMAC_Update(ctx, HMAC_Update(ctx,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment