Skip to content

Commit 0594ad6

Browse files
committed
crypto: lib/mpi - Export mpi_set_bit
This function is part of the exposed API and should be exported. Otherwise a modular user would fail to build, e.g., crypto/rsa. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 3574a51 commit 0594ad6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/crypto/mpi/mpi-bit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ int mpi_set_bit(MPI a, unsigned int n)
9595
a->d[limbno] |= (A_LIMB_1<<bitno);
9696
return 0;
9797
}
98+
EXPORT_SYMBOL_GPL(mpi_set_bit);
9899

99100
/*
100101
* Shift A by N bits to the right.

0 commit comments

Comments
 (0)