Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -211,7 +211,7 @@ static status_t compute_prime(size_t prime_size, bool safe, mpz_t *p, mpz_t *q)
|
||||
|
||||
rng->destroy(rng);
|
||||
|
||||
/* additonally return p-1 */
|
||||
/* additionally return p-1 */
|
||||
mpz_sub_ui(*q, *p, 1);
|
||||
|
||||
return SUCCESS;
|
||||
|
||||
@@ -116,7 +116,7 @@ pkcs7_t *pkcs7_generic_load(container_type_t type, va_list args)
|
||||
{
|
||||
if (blob.len >= 2 &&
|
||||
blob.ptr[0] == ASN1_SEQUENCE && blob.ptr[1] == 0x80)
|
||||
{ /* looks like infinite lenght BER encoding, but we can't handle it.
|
||||
{ /* looks like infinite length BER encoding, but we can't handle it.
|
||||
* ignore silently, our openssl backend can handle it */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user