~ubuntu-branches/ubuntu/lucid/openssl/lucid-proposed

« back to all changes in this revision

Viewing changes to crypto/hmac/hmac.c

  • Committer: Bazaar Package Importer
  • Author(s): Nicolas Valcárcel Scerpella (Canonical)
  • Date: 2009-12-06 20:16:24 UTC
  • mfrom: (11.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091206201624-u126qjpqm2n2uuhu
Tags: 0.9.8k-7ubuntu1
* Merge from debian unstable, remaining changes (LP: #493392):
  - Link using -Bsymbolic-functions
  - Add support for lpia
  - Disable SSLv2 during compile
  - Ship documentation in openssl-doc, suggested by the package.
  - Use a different priority for libssl0.9.8/restart-services
    depending on whether a desktop, or server dist-upgrade is being
    performed.
  - Display a system restart required notification bubble on libssl0.9.8
    upgrade.
  - Replace duplicate files in the doc directory with symlinks.
  - Move runtime libraries to /lib, for the benefit of wpasupplicant
* Strip the patches out of the source into quilt patches
* Disable CVE-2009-3555.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
#include "cryptlib.h"
62
62
#include <openssl/hmac.h>
63
63
 
 
64
#ifndef OPENSSL_FIPS
 
65
 
64
66
void HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
65
67
                  const EVP_MD *md, ENGINE *impl)
66
68
        {
171
173
        return(md);
172
174
        }
173
175
 
 
176
void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags)
 
177
        {
 
178
        EVP_MD_CTX_set_flags(&ctx->i_ctx, flags);
 
179
        EVP_MD_CTX_set_flags(&ctx->o_ctx, flags);
 
180
        EVP_MD_CTX_set_flags(&ctx->md_ctx, flags);
 
181
        }
 
182
 
 
183
#endif