mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 04:53:28 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69198
@ -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