Commit a777c32c authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'v6.12-p4' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

Pull crypto fix from Herbert Xu:
 "Fix a regression in mpi that broke RSA"

* tag 'v6.12-p4' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
  crypto: lib/mpi - Fix an "Uninitialized scalar variable" issue
parents 42f7652d cd843399
...@@ -21,7 +21,7 @@ int mpi_mul(MPI w, MPI u, MPI v) ...@@ -21,7 +21,7 @@ int mpi_mul(MPI w, MPI u, MPI v)
int usign, vsign, sign_product; int usign, vsign, sign_product;
int assign_wp = 0; int assign_wp = 0;
mpi_ptr_t tmp_limb = NULL; mpi_ptr_t tmp_limb = NULL;
int err; int err = 0;
if (u->nlimbs < v->nlimbs) { if (u->nlimbs < v->nlimbs) {
/* Swap U and V. */ /* Swap U and V. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment