From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- src/libsec/port/rsafill.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libsec/port/rsafill.c') diff --git a/src/libsec/port/rsafill.c b/src/libsec/port/rsafill.c index f514b073..7b715614 100644 --- a/src/libsec/port/rsafill.c +++ b/src/libsec/port/rsafill.c @@ -8,7 +8,7 @@ rsafill(mpint *n, mpint *e, mpint *d, mpint *p, mpint *q) mpint *c2, *kq, *kp, *x; RSApriv *rsa; - // make sure we're not being hoodwinked + /* make sure we're not being hoodwinked */ if(!probably_prime(p, 10) || !probably_prime(q, 10)){ werrstr("rsafill: p or q not prime"); return nil; @@ -33,10 +33,10 @@ rsafill(mpint *n, mpint *e, mpint *d, mpint *p, mpint *q) return nil; } - // compute chinese remainder coefficient + /* compute chinese remainder coefficient */ mpinvert(p, q, c2); - // for crt a**k mod p == (a**(k mod p-1)) mod p + /* for crt a**k mod p == (a**(k mod p-1)) mod p */ kq = mpnew(0); kp = mpnew(0); mpsub(p, mpone, x); -- cgit v1.2.3