ref: b8811b7a2f63629323541593cc76ec655d17015b
parent: 541528252ef042f082c82edf47af7d4947b2f661
parent: 00575e07bbc3ea12a174732a4a8328787b4f210f
author: cinap_lenrek <[email protected]>
date: Sun Feb 5 00:16:39 EST 2017
merge
--- a/sys/src/libsec/port/rsagen.c
+++ b/sys/src/libsec/port/rsagen.c
@@ -39,6 +39,8 @@
break;
mpadd(mpone, e, e);
}
+ if(d->sign < 0)
+ mpadd(phi, d, d);
mpfree(t1);
mpfree(t2);