~ubuntu-branches/ubuntu/karmic/opensc/karmic-updates

« back to all changes in this revision

Viewing changes to src/pkcs11/mechanism.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-03-29 03:56:10 UTC
  • mto: (8.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090329035610-y7v5a3f0852p4da8
Tags: upstream-0.11.7
ImportĀ upstreamĀ versionĀ 0.11.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
450
450
        free(data);
451
451
}
452
452
 
453
 
#ifdef HAVE_OPENSSL
 
453
#ifdef ENABLE_OPENSSL
454
454
/*
455
455
 * Initialize a verify context. When we get here, we know
456
456
 * the key object is capable of verifying _something_
763
763
                mt->sign_update = sc_pkcs11_signature_update;
764
764
                mt->sign_final = sc_pkcs11_signature_final;
765
765
                mt->sign_size = sc_pkcs11_signature_size;
766
 
#ifdef HAVE_OPENSSL
 
766
#ifdef ENABLE_OPENSSL
767
767
                mt->verif_init = sc_pkcs11_verify_init;
768
768
                mt->verif_update = sc_pkcs11_verify_update;
769
769
                mt->verif_final = sc_pkcs11_verify_final;
786
786
CK_RV
787
787
sc_pkcs11_register_generic_mechanisms(struct sc_pkcs11_card *p11card)
788
788
{
789
 
#ifdef HAVE_OPENSSL
 
789
#ifdef ENABLE_OPENSSL
790
790
        sc_pkcs11_register_openssl_mechanisms(p11card);
791
791
#endif
792
792