]> andersk Git - gssapi-openssh.git/blobdiff - openssh/rsa.c
The man2html from jbasney on pkilab2 works whereas the standard one doesn't.
[gssapi-openssh.git] / openssh / rsa.c
index 66561a4213b5cd3b78c527116b1b80ab4dac99b7..113ee7fc42347977adc011b5610c790d466c825c 100644 (file)
@@ -60,7 +60,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: rsa.c,v 1.24 2001/12/27 18:22:16 markus Exp $");
+RCSID("$OpenBSD: rsa.c,v 1.23 2001/06/27 05:42:24 markus Exp $");
 
 #include "rsa.h"
 #include "log.h"
@@ -120,17 +120,14 @@ rsa_private_decrypt(BIGNUM *out, BIGNUM *in, RSA *key)
        return len;
 }
 
-/* calculate p-1 and q-1 */
 void
 rsa_generate_additional_parameters(RSA *rsa)
 {
        BIGNUM *aux;
        BN_CTX *ctx;
-
-       if ((aux = BN_new()) == NULL)
-               fatal("rsa_generate_additional_parameters: BN_new failed");
-       if ((ctx = BN_CTX_new()) == NULL)
-               fatal("rsa_generate_additional_parameters: BN_CTX_new failed");
+       /* Generate additional parameters */
+       aux = BN_new();
+       ctx = BN_CTX_new();
 
        BN_sub(aux, rsa->q, BN_value_one());
        BN_mod(rsa->dmq1, rsa->d, aux, ctx);
This page took 0.075529 seconds and 4 git commands to generate.