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:
Mark Murray 2000-11-26 09:58:18 +00:00
parent 45459ea3bd
commit 17c9715049

View File

@ -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 */