diff --git a/lib/modules/Crypto.pmod/RSA.pmod b/lib/modules/Crypto.pmod/RSA.pmod index 24b9b797c4988dc4aa137986ae5e1a4d680cc9b7..15aa4c4581edb6ef4da95d996f0aebf608aad301 100644 --- a/lib/modules/Crypto.pmod/RSA.pmod +++ b/lib/modules/Crypto.pmod/RSA.pmod @@ -160,7 +160,7 @@ class State { // Generate a prime with @[bits] number of bits using random function // @[r]. - protected Gmp.mpz get_prime(int bits, function(int:string(8bit)) r) + protected Gmp.mpz get_prime(int bits, function(int(0..):string(8bit)) r) { int len = (bits + 7) / 8; int bit_to_set = 1 << ( (bits - 1) % 8);