]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fix mis-spelling spotted by Torbjörn Granlund.
authorNiels Möller <nisse@lysator.liu.se>
Fri, 7 Sep 2018 07:09:37 +0000 (09:09 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Fri, 7 Sep 2018 07:09:37 +0000 (09:09 +0200)
rsa-keygen.c

index bf04cb827ec5ca37730088e55d415448f6b9a76d..b7e38f770bb0823126b04d2c602af4d403cd64eb 100644 (file)
@@ -104,7 +104,7 @@ rsa_generate_keypair(struct rsa_public_key *pub,
 
          mpz_sub_ui(p1, key->p, 1);
       
-         /* If e was given, we must chose p such that p-1 has no factors in
+         /* If e was given, we must choose p such that p-1 has no factors in
           * common with e. */
          if (e_size)
            break;
@@ -132,7 +132,7 @@ rsa_generate_keypair(struct rsa_public_key *pub,
 
          mpz_sub_ui(q1, key->q, 1);
       
-         /* If e was given, we must chose q such that q-1 has no factors in
+         /* If e was given, we must choose q such that q-1 has no factors in
           * common with e. */
          if (e_size)
            break;