Patch for tspps.h for Solaris. -Wyllys Ingersoll
*** src/include/tspps.h.old Thu Dec 18 08:40:21 2008 --- src/include/tspps.h Thu Dec 18 08:41:51 2008 *************** *** 13,25 **** #define PASSWD_BUFSIZE 4096 #define TSS_USER_PS_DIR ".trousers" #define TSS_USER_PS_FILE "user.data" TSS_RESULT get_file(int *); int put_file(int); ! inline TSS_RESULT read_data(int, void *, UINT32); ! inline TSS_RESULT write_data(int, void *, UINT32); UINT32 psfile_get_num_keys(int); TSS_RESULT psfile_get_parent_uuid_by_uuid(int, TSS_UUID *, TSS_UUID *); TSS_RESULT psfile_remove_key_by_uuid(int, TSS_UUID *); --- 13,29 ---- #define PASSWD_BUFSIZE 4096 + #ifdef SOLARIS + #define TSS_USER_PS_DIR "/var/tpm/userps" + #else #define TSS_USER_PS_DIR ".trousers" + #endif #define TSS_USER_PS_FILE "user.data" TSS_RESULT get_file(int *); int put_file(int); ! TSS_RESULT read_data(int, void *, UINT32); ! TSS_RESULT write_data(int, void *, UINT32); UINT32 psfile_get_num_keys(int); TSS_RESULT psfile_get_parent_uuid_by_uuid(int, TSS_UUID *, TSS_UUID *); TSS_RESULT psfile_remove_key_by_uuid(int, TSS_UUID *); ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ TrouSerS-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/trousers-tech
