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

« back to all changes in this revision

Viewing changes to crypto/evp/evp_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:
126
126
        EVP_MD_CTX_init(&c);
127
127
        for (;;)
128
128
                {
129
 
                EVP_DigestInit_ex(&c,md, NULL);
 
129
                if (!EVP_DigestInit_ex(&c,md, NULL))
 
130
                        return 0;
130
131
                if (addmd++)
131
132
                        EVP_DigestUpdate(&c,&(md_buf[0]),mds);
132
133
                EVP_DigestUpdate(&c,data,datal);