~ubuntu-branches/ubuntu/maverick/openssl/maverick

« 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
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515160058-pn9osix02x46r0iy
Tags: 0.9.8b-2
* Don't call gcc with -mcpu on i386, we already use -march, so no need for
  -mtune either.
* Always make all directories when building something:
  - The engines directory didn't get build for the static directory, so
    where missing in libcrypo.a
  - The apps directory didn't always get build, so we didn't have an openssl
    and a small part of the regression tests failed.
* Make the package fail to build if the regression tests fail.

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
        }