Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 590967 Details for
Bug 830129
PKCS11_TPM.so has undefined symbol
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch fixing unresolved symbols in the software and tpm stdlls
opencryptoki-2.4.1-830129.patch (text/plain), 4.20 KB, created by
Kent Yoder
on 2012-06-11 15:03:47 UTC
(
hide
)
Description:
Patch fixing unresolved symbols in the software and tpm stdlls
Filename:
MIME Type:
Creator:
Kent Yoder
Created:
2012-06-11 15:03:47 UTC
Size:
4.20 KB
patch
obsolete
>diff -X /root/gitignore -pburN opencryptoki-2.4.1/usr/lib/pkcs11/cca_stdll/h_extern.h opencryptoki-2.4.1-key/usr/lib/pkcs11/cca_stdll/h_extern.h >--- opencryptoki-2.4.1/usr/lib/pkcs11/cca_stdll/h_extern.h 2012-02-22 13:37:51.000000000 -0600 >+++ opencryptoki-2.4.1-key/usr/lib/pkcs11/cca_stdll/h_extern.h 2012-06-11 09:56:02.509036554 -0500 >@@ -1642,10 +1642,6 @@ CK_RV object_mgr_get_attribute_values > CK_RV object_mgr_get_object_size( CK_OBJECT_HANDLE handle, > CK_ULONG * size ); > >-CK_BBOOL object_mgr_invalidate_handle1( CK_OBJECT_HANDLE handle ); >- >-CK_BBOOL object_mgr_invalidate_handle2( OBJECT *obj ); >- > CK_BBOOL object_mgr_purge_session_objects( SESSION * sess, > SESS_OBJ_TYPE type ); > >diff -X /root/gitignore -pburN opencryptoki-2.4.1/usr/lib/pkcs11/common/h_extern.h opencryptoki-2.4.1-key/usr/lib/pkcs11/common/h_extern.h >--- opencryptoki-2.4.1/usr/lib/pkcs11/common/h_extern.h 2012-02-22 13:37:51.000000000 -0600 >+++ opencryptoki-2.4.1-key/usr/lib/pkcs11/common/h_extern.h 2012-06-11 09:56:02.510036534 -0500 >@@ -1955,10 +1955,6 @@ CK_RV object_mgr_get_attribute_values > CK_RV object_mgr_get_object_size( CK_OBJECT_HANDLE handle, > CK_ULONG * size ); > >-CK_BBOOL object_mgr_invalidate_handle1( CK_OBJECT_HANDLE handle ); >- >-CK_BBOOL object_mgr_invalidate_handle2( OBJECT *obj ); >- > CK_BBOOL object_mgr_purge_session_objects( SESSION * sess, > SESS_OBJ_TYPE type ); > >diff -X /root/gitignore -pburN opencryptoki-2.4.1/usr/lib/pkcs11/common/mech_ssl3.c opencryptoki-2.4.1-key/usr/lib/pkcs11/common/mech_ssl3.c >--- opencryptoki-2.4.1/usr/lib/pkcs11/common/mech_ssl3.c 2012-02-22 13:37:51.000000000 -0600 >+++ opencryptoki-2.4.1-key/usr/lib/pkcs11/common/mech_ssl3.c 2012-06-11 09:56:02.510036534 -0500 >@@ -1746,16 +1746,7 @@ ssl3_key_and_mac_derive( SESSION > #endif > } > >- return rc; >- > error: >- >- if (client_write_handle != 0) >- object_mgr_invalidate_handle1( client_write_handle ); >- >- if (server_write_handle != 0) >- object_mgr_invalidate_handle1( server_write_handle ); >- > return rc; > } > >@@ -1917,8 +1908,8 @@ ssl3_kmd_process_mac_keys( SESSION > return CKR_OK; > > error: >- if (*client_handle != 0) object_mgr_invalidate_handle1( *client_handle ); >- if (*server_handle != 0) object_mgr_invalidate_handle1( *server_handle ); >+ *client_handle = 0; >+ *server_handle = 0; > > if (client_obj) { > object_free( client_obj ); >@@ -2173,11 +2164,8 @@ ssl3_kmd_process_write_keys( SESSION > return CKR_OK; > > error: >- if (*client_handle != 0) >- object_mgr_invalidate_handle1( *client_handle ); >- >- if (*server_handle != 0) >- object_mgr_invalidate_handle1( *server_handle ); >+ *client_handle = 0; >+ *server_handle = 0; > > if (client_obj) > object_free( client_obj ); >diff -X /root/gitignore -pburN opencryptoki-2.4.1/usr/lib/pkcs11/tpm_stdll/h_extern.h opencryptoki-2.4.1-key/usr/lib/pkcs11/tpm_stdll/h_extern.h >--- opencryptoki-2.4.1/usr/lib/pkcs11/tpm_stdll/h_extern.h 2012-02-22 13:37:51.000000000 -0600 >+++ opencryptoki-2.4.1-key/usr/lib/pkcs11/tpm_stdll/h_extern.h 2012-06-11 09:56:02.511036516 -0500 >@@ -1533,10 +1533,6 @@ CK_RV object_mgr_get_attribute_values > CK_RV object_mgr_get_object_size( CK_OBJECT_HANDLE handle, > CK_ULONG * size ); > >-CK_BBOOL object_mgr_invalidate_handle1( CK_OBJECT_HANDLE handle ); >- >-CK_BBOOL object_mgr_invalidate_handle2( OBJECT *obj ); >- > CK_BBOOL object_mgr_purge_session_objects( SESSION * sess, > SESS_OBJ_TYPE type ); > >diff -X /root/gitignore -pburN opencryptoki-2.4.1/usr/lib/pkcs11/tpm_stdll/key_mgr.c opencryptoki-2.4.1-key/usr/lib/pkcs11/tpm_stdll/key_mgr.c >--- opencryptoki-2.4.1/usr/lib/pkcs11/tpm_stdll/key_mgr.c 2012-02-22 13:37:51.000000000 -0600 >+++ opencryptoki-2.4.1-key/usr/lib/pkcs11/tpm_stdll/key_mgr.c 2012-06-11 09:42:48.351005308 -0500 >@@ -844,7 +844,7 @@ key_mgr_unwrap_key( SESSION * > // > break; > default: >- OCK_LOG_ERROR(ERR_MECHANISM_INVALID); >+ OCK_LOG_ERR(ERR_MECHANISM_INVALID); > return CKR_MECHANISM_INVALID; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 830129
: 590967