When built without OpenSSL, register_mechanisms can fail.
Without OpenSSL sc_pkcs11_register_sign_and_hash_mechanisum fails
if the hash is not available, even if the card could do the hash
on the card.

../../../src/src/pkcs11/framework-pkcs15.c:173:pkcs15_bind: register_mechanisms 
failed: 0x70

Andre and I have been discussing this and how to fix it.
A combined patch was committed as r4963.



On 12/17/2010 4:15 AM, webmas...@opensc-project.org wrote:
> Revision: 4961
> Author:   martin
> Date:     2010-12-17 10:15:11 +0000 (Fri, 17 Dec 2010)
>
> Log Message:
> -----------
> Build 0.12.0-rc2
>
> Modified Paths:
> --------------
>      trunk/MacOSX/10.5/resources/ReadMe.html
>      trunk/MacOSX/10.6/resources/ReadMe.html
>      trunk/configure.ac
>      trunk/win32/OpenSC.iss
>
> Modified: trunk/MacOSX/10.5/resources/ReadMe.html
> ===================================================================
> --- trunk/MacOSX/10.5/resources/ReadMe.html   2010-12-16 10:27:58 UTC (rev 
> 4960)
> +++ trunk/MacOSX/10.5/resources/ReadMe.html   2010-12-17 10:15:11 UTC (rev 
> 4961)
> @@ -12,7 +12,7 @@
>   <body>
>
>
> -<h1>OpenSC, version 0.12 (build XXXX)</h1>
> +<h1>OpenSC, version 0.12.0-rc2</h1>
>   <p>for Mac OS X 10.5 (Leopard), universal (32-bit i386 and ppc)</p>
>
>   <p>OpenSC provides a set of libraries and utilities to work with smart 
> cards. Its main focus is on cards that support cryptographic operations, and 
> facilitate their use in security applications such as authentication, mail 
> encryption and digital signatures.</p>
>
> Modified: trunk/MacOSX/10.6/resources/ReadMe.html
> ===================================================================
> --- trunk/MacOSX/10.6/resources/ReadMe.html   2010-12-16 10:27:58 UTC (rev 
> 4960)
> +++ trunk/MacOSX/10.6/resources/ReadMe.html   2010-12-17 10:15:11 UTC (rev 
> 4961)
> @@ -1,7 +1,6 @@
> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>   <html xmlns="http://www.w3.org/1999/xhtml";>
>   <head>
> -     <title>EST Install OpenSC</title>
>       <style type="text/css">
>               body { font: 12px Helvetica; }
>               h1 { font-size: 16px; }
> @@ -13,7 +12,7 @@
>   <body>
>
>
> -<h1>OpenSC, version 0.12 (build XXXX)</h1>
> +<h1>OpenSC, version 0.12.0-rc2</h1>
>   <p>for Mac OS X 10.6 (Snow Leopard), universal (32-bit and 64-bit)</p>
>
>   <p>OpenSC provides a set of libraries and utilities to work with smart 
> cards. Its main focus is on cards that support cryptographic operations, and 
> facilitate their use in security applications such as authentication, mail 
> encryption and digital signatures.</p>
>
> Modified: trunk/configure.ac
> ===================================================================
> --- trunk/configure.ac        2010-12-16 10:27:58 UTC (rev 4960)
> +++ trunk/configure.ac        2010-12-17 10:15:11 UTC (rev 4961)
> @@ -5,7 +5,7 @@
>   define([PACKAGE_VERSION_MAJOR], [0])
>   define([PACKAGE_VERSION_MINOR], [12])
>   define([PACKAGE_VERSION_FIX], [0])
> -define([PACKAGE_SUFFIX], [-rc1])
> +define([PACKAGE_SUFFIX], [-rc2])
>
>   
> AC_INIT([opensc],[PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR.PACKAGE_VERSION_FIX[]PACKAGE_SUFFIX])
>   AC_CONFIG_AUX_DIR([.])
>
> Modified: trunk/win32/OpenSC.iss
> ===================================================================
> --- trunk/win32/OpenSC.iss    2010-12-16 10:27:58 UTC (rev 4960)
> +++ trunk/win32/OpenSC.iss    2010-12-17 10:15:11 UTC (rev 4961)
> @@ -1,12 +1,12 @@
>   [Setup]
>   AppName=OpenSC
> -AppVerName=OpenSC 0.12.0
> +AppVerName=OpenSC 0.12.0-rc2
>   AppPublisher=OpenSC project
>   AppPublisherURL=http://www.opensc-project.org/
>   AppSupportURL=http://www.opensc-project.org/opensc/
>   AppUpdatesURL=http://www.opensc-project.org/opensc/
>   DefaultDirName={pf}\OpenSC Project\OpenSC
> -OutputBaseFilename=OpenSC-0.12.0
> +OutputBaseFilename=OpenSC-0.12.0-rc2
>   Compression=lzma/normal
>   SolidCompression=true
>   MinVersion=0,5.0.2195
>
>
> _______________________________________________
> opensc-commits mailing list
> opensc-comm...@lists.opensc-project.org
> http://www.opensc-project.org/mailman/listinfo/opensc-commits

-- 

  Douglas E. Engert  <deeng...@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to