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 d7d2236..8ac4f7e 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++)
                ;