--- sourceforge.net/trunk/rdesktop/crypto/bn_exp.c 2003/01/30 11:28:50 301 +++ sourceforge.net/trunk/rdesktop/crypto/bn_exp.c 2003/01/30 11:47:11 302 @@ -795,7 +795,7 @@ #endif /* The old fallback, simple version :-) */ -int BN_mod_exp_simple(BIGNUM *r, BIGNUM *a, BIGNUM *p, BIGNUM *m, +int BN_mod_exp_simple(BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx) { int i,j,bits,ret=0,wstart,wend,window,wvalue,ts=0;