Check-in [a184a05fd1]
Overview
Comment:Added support for only exporting PKCS#11 symbols globally
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a184a05fd192ed0cee79510cc9c432809821f038
User & Date: rkeene on 2010-05-17 05:58:30
Other Links: manifest | tags
Context
2010-05-17
06:00
Added missing file from last commit check-in: 70222fd9bf user: rkeene tags: trunk
05:58
Added support for only exporting PKCS#11 symbols globally check-in: a184a05fd1 user: rkeene tags: trunk
05:18
Fixed issue with double-free not being reported if it is the last action recorded check-in: 8a6ff15b3c user: rkeene tags: trunk
Changes

Modified aclocal/Makefile from [0c585cbc20] to [650b2584c6].

     1         -../aclocal.m4: acx_pthread.m4 dc_shobjs.m4 dc_pcscheaders.m4
            1  +../aclocal.m4: acx_pthread.m4 dc_shobjs.m4 dc_pcscheaders.m4 dc_versionscript.m4
     2      2   	cat $^ > "$@"

Modified configure.ac from [0ec6a4dc40] to [e3d2962afa].

    73     73   ])
    74     74   
    75     75   dnl Check for PC/SC headers and libraries
    76     76   DC_PCSC
    77     77   
    78     78   dnl Check for ZLIB libraries
    79     79   AC_CHECK_LIB(z, uncompress)
           80  +
           81  +dnl Set version script, to limit the scope of symbols
           82  +DC_SETVERSIONSCRIPT(libcackey.vers)
    80     83   
    81     84   dnl Upate LDFLAGS to include setting the run-time linker path to the same as our compile-time linker
    82     85   DC_SYNC_RPATH
    83     86   
    84     87   dnl If we updated LIBOBJS, update SHLIBOBJS -- must be last.
    85     88   DC_SYNC_SHLIBOBJS
    86     89   
    87     90   dnl Produce Makefile
    88     91   AC_OUTPUT(Makefile)

Added libcackey.vers version [3fcd52d836].

            1  +{
            2  +	global:
            3  +		C_CancelFunction;
            4  +		C_CloseAllSessions;
            5  +		C_CloseSession;
            6  +		C_CopyObject;
            7  +		C_CreateObject;
            8  +		C_Decrypt;
            9  +		C_DecryptDigestUpdate;
           10  +		C_DecryptFinal;
           11  +		C_DecryptInit;
           12  +		C_DecryptUpdate;
           13  +		C_DecryptVerifyUpdate;
           14  +		C_DeriveKey;
           15  +		C_DestroyObject;
           16  +		C_Digest;
           17  +		C_DigestEncryptUpdate;
           18  +		C_DigestFinal;
           19  +		C_DigestInit;
           20  +		C_DigestKey;
           21  +		C_DigestUpdate;
           22  +		C_Encrypt;
           23  +		C_EncryptFinal;
           24  +		C_EncryptInit;
           25  +		C_EncryptUpdate;
           26  +		C_Finalize;
           27  +		C_FindObjects;
           28  +		C_FindObjectsFinal;
           29  +		C_FindObjectsInit;
           30  +		C_GenerateKey;
           31  +		C_GenerateKeyPair;
           32  +		C_GenerateRandom;
           33  +		C_GetAttributeValue;
           34  +		C_GetFunctionList;
           35  +		C_GetFunctionStatus;
           36  +		C_GetInfo;
           37  +		C_GetMechanismInfo;
           38  +		C_GetMechanismList;
           39  +		C_GetObjectSize;
           40  +		C_GetOperationState;
           41  +		C_GetSessionInfo;
           42  +		C_GetSlotInfo;
           43  +		C_GetSlotList;
           44  +		C_GetTokenInfo;
           45  +		C_InitPIN;
           46  +		C_InitToken;
           47  +		C_Initialize;
           48  +		C_Login;
           49  +		C_Logout;
           50  +		C_OpenSession;
           51  +		C_SeedRandom;
           52  +		C_SetAttributeValue;
           53  +		C_SetOperationState;
           54  +		C_SetPIN;
           55  +		C_Sign;
           56  +		C_SignEncryptUpdate;
           57  +		C_SignFinal;
           58  +		C_SignInit;
           59  +		C_SignRecover;
           60  +		C_SignRecoverInit;
           61  +		C_SignUpdate;
           62  +		C_UnwrapKey;
           63  +		C_Verify;
           64  +		C_VerifyFinal;
           65  +		C_VerifyInit;
           66  +		C_VerifyRecover;
           67  +		C_VerifyRecoverInit;
           68  +		C_VerifyUpdate;
           69  +		C_WaitForSlotEvent;
           70  +		C_WrapKey;
           71  +	local:
           72  +		*;
           73  +};