chiark / gitweb /
pub/rsa-recover.c, pub/rsa.h: Say what's left when `rsa_recover' fails.
[catacomb] / pub / rsa.h
index 2fb767da040ebf1fe4d5d60f7ed04e415deb4e9d..cd910b7722e8c5fdede59f62326978a2a6f266b6 100644 (file)
--- a/pub/rsa.h
+++ b/pub/rsa.h
@@ -349,6 +349,10 @@ extern int rsa_gen(rsa_priv */*rp*/, unsigned /*nbits*/,
  *             sense.
  *
  * Use:                Derives the full set of RSA parameters given a minimal set.
+ *
+ *             On failure, the parameter block might be partially filled in,
+ *             but the @rsa_privfree@ function will be able to free it
+ *             successfully.
  */
 
 extern int rsa_recover(rsa_priv */*rp*/);