Document the BN library.
[openssl.git] / crypto / bn / bn_add.c
index c5ab066c9e467a563cbcb084f5ab78afa29b6bd3..5d2469123302d58750b9b5c1c250637d395a4b68 100644 (file)
@@ -61,9 +61,9 @@
 #include "bn_lcl.h"
 
 /* r can == a or b */
 #include "bn_lcl.h"
 
 /* r can == a or b */
-int BN_add(BIGNUM *r, BIGNUM *a, BIGNUM *b)
+int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)
        {
        {
-       BIGNUM *tmp;
+       const BIGNUM *tmp;
 
        bn_check_top(a);
        bn_check_top(b);
 
        bn_check_top(a);
        bn_check_top(b);