openCryptoki/ock_head_ptr_to_null_20060308.diff

12 lines
621 B
Diff

diff -Naur ./openCryptoki-2.2.2-rc2/usr/lib/pkcs11/ica_s390_stdll/ica_specific.c openCryptoki-2.2.2-rc2-head_ptr_to_null/usr/lib/pkcs11/ica_s390_stdll/ica_specific.c
--- ./openCryptoki-2.2.2-rc2/usr/lib/pkcs11/ica_s390_stdll/ica_specific.c 2006-03-08 13:06:28.000000000 -0500
+++ openCryptoki-2.2.2-rc2-head_ptr_to_null/usr/lib/pkcs11/ica_s390_stdll/ica_specific.c 2006-03-08 13:07:11.000000000 -0500
@@ -2110,6 +2110,7 @@
int rc = CKR_MECHANISM_INVALID;
struct mech_list_item head;
struct mech_list_item *walker;
+ head.next = NULL;
#if 1
rc = ock_generic_get_mechanism_info(type, pInfo);
if (rc == CKR_OK) {