Commit 6a7291f6 authored by Geoff Simmons's avatar Geoff Simmons

Bugfix KEY_Set().

parent 03ff1734
......@@ -455,7 +455,6 @@ KEY_Set(VRT_CTX, uint8_t *id, uint8_t idlen, const uint8_t *key)
}
CHECK_OBJ(k, KEY_MAGIC);
AN(k->key);
AZ(memcmp(k->key, key, AES128_KEYLEN));
memcpy(k->key, key, AES128_KEYLEN);
KEY_Unlock(idlen);
......
Markdown is supported
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