Fix safety-net code. While technically a bug, I'm delighted to see
that it has never (apparently) been invoked. Submitted by: ache
This commit is contained in:
parent
45459ea3bd
commit
17c9715049
@ -94,7 +94,7 @@ yarrow_encrypt_init(struct yarrowkey *context, void *data, size_t size)
|
||||
size_t count;
|
||||
|
||||
count = size > KEYSIZE ? KEYSIZE : size;
|
||||
BF_set_key(&context->key, size, data);
|
||||
BF_set_key(&context->key, count, data);
|
||||
}
|
||||
|
||||
/* Encrypt the supplied data using the key schedule preset in the context */
|
||||
|
Loading…
Reference in New Issue
Block a user