Reference bug.
authorRichard Levitte <levitte@openssl.org>
Thu, 19 Feb 2009 09:42:32 +0000 (09:42 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 19 Feb 2009 09:42:32 +0000 (09:42 +0000)
crypto/store/str_mem.c

index d7d22366b4baaea5126e362f0f097f399bd361c2..8ac4f7e55c70b8440223a3b064b42dd2981d2df4 100644 (file)
@@ -314,9 +314,9 @@ static STORE_OBJECT *mem_list_next(STORE *s, void *handle)
        for(srch = context->search_index;
            srch < sk_MEM_OBJECT_DATA_num(store->data)
                    && STORE_ATTR_INFO_in_range(key.attr_info,
-                           sk_MEM_OBJECT_DATA_value(store->data, srch))
+                           sk_MEM_OBJECT_DATA_value(store->data, srch)->attr_info)
                    && !(cres = STORE_ATTR_INFO_in_ex(key.attr_info,
-                                sk_MEM_OBJECT_DATA_value(store->data, srch)));
+                                sk_MEM_OBJECT_DATA_value(store->data, srch)->attr_info));
            srch++)
                ;