~ubuntu-branches/ubuntu/lucid/openssl/lucid-security

« back to all changes in this revision

Viewing changes to crypto/rsa/rsa_gen.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2006-05-15 16:00:58 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060515160058-pg6lnbkkpkwpdj2e
Tags: upstream-0.9.8b
ImportĀ upstreamĀ versionĀ 0.9.8b

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
                RSAerr(RSA_F_RSA_BUILTIN_KEYGEN,ERR_LIB_BN);
184
184
                ok=0;
185
185
                }
186
 
        BN_CTX_end(ctx);
187
 
        BN_CTX_free(ctx);
 
186
        if (ctx != NULL)
 
187
                {
 
188
                BN_CTX_end(ctx);
 
189
                BN_CTX_free(ctx);
 
190
                }
188
191
 
189
192
        return ok;
190
193
        }