diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-10-21 09:59:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-10-21 09:59:43 -0700 |
commit | a777c32ca42b9a8a5e5abd915883a73620d9044b (patch) | |
tree | 593d983d5f4a81fc05de1b796cb3b46ecb1453a5 | |
parent | 42f7652d3eb527d03665b09edac47f85fb600924 (diff) | |
parent | cd843399d706411ff80520fb7883afeeefa76e98 (diff) | |
download | linux-a777c32ca42b9a8a5e5abd915883a73620d9044b.tar.gz linux-a777c32ca42b9a8a5e5abd915883a73620d9044b.tar.bz2 linux-a777c32ca42b9a8a5e5abd915883a73620d9044b.zip |
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
-rw-r--r-- | lib/crypto/mpi/mpi-mul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/mpi/mpi-mul.c b/lib/crypto/mpi/mpi-mul.c index 892a246216b9..7e6ff1ce3e9b 100644 --- a/lib/crypto/mpi/mpi-mul.c +++ b/lib/crypto/mpi/mpi-mul.c @@ -21,7 +21,7 @@ int mpi_mul(MPI w, MPI u, MPI v) int usign, vsign, sign_product; int assign_wp = 0; mpi_ptr_t tmp_limb = NULL; - int err; + int err = 0; if (u->nlimbs < v->nlimbs) { /* Swap U and V. */ |