Commit e84c0948646dd019ed60c9a703584f9697c64638

Steffen Jaeckel 2019-01-15T18:26:40

fix doc/bn.tex

diff --git a/doc/bn.tex b/doc/bn.tex
index a2b8a09..04e19ae 100644
--- a/doc/bn.tex
+++ b/doc/bn.tex
@@ -2007,7 +2007,7 @@ mp\_prime\_random().
 \begin{alltt}
 int mp_rand_digit(mp_digit *r)
 \end{alltt}
-This function generates a random number in \texttt{r} of the size given in \texttt{r} (that is, the variable is used for in- and output) but not more than \texttt{MP_MASK} bits.
+This function generates a random number in \texttt{r} of the size given in \texttt{r} (that is, the variable is used for in- and output) but not more than \texttt{MP\_MASK} bits.
 
 \index{mp\_rand}
 \begin{alltt}
@@ -2015,7 +2015,7 @@ int mp_rand(mp_int *a, int digits)
 \end{alltt}
 This function generates a random number of \texttt{digits} bits.
 
-The random number generated with these two functions is cryptographically secure if the source of random numbers the operating systems offers is cryptographically secure. It will use \texttt{arc4random()} if the OS is a BSD flavor, Wincrypt on Windows, or \texttt{\dev\urandom} on all operating systems that have it.
+The random number generated with these two functions is cryptographically secure if the source of random numbers the operating systems offers is cryptographically secure. It will use \texttt{arc4random()} if the OS is a BSD flavor, Wincrypt on Windows, or \texttt{\\dev\\urandom} on all operating systems that have it.
 
 
 \chapter{Input and Output}