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

« back to all changes in this revision

Viewing changes to crypto/dh/dh_key.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:
217
217
 
218
218
        ret=BN_bn2bin(tmp,key);
219
219
err:
220
 
        BN_CTX_end(ctx);
221
 
        BN_CTX_free(ctx);
 
220
        if (ctx != NULL)
 
221
                {
 
222
                BN_CTX_end(ctx);
 
223
                BN_CTX_free(ctx);
 
224
                }
222
225
        return(ret);
223
226
        }
224
227