2 * Copyright (c) 2006-2007,2009-2010,2012-2013 Apple Inc. All Rights Reserved.
5 #include <CoreFoundation/CoreFoundation.h>
6 #include <Security/SecItem.h>
7 #include <Security/SecBase.h>
8 #include <utilities/array_size.h>
12 #include "Security_regressions.h"
14 /* Test basic add delete update copy matching stuff. */
15 static void tests(void)
18 plan_skip_all("No testing against server.");
20 const void *keys
[] = {
23 const void *values
[] = {
24 kSecClassInternetPassword
,
26 CFDictionaryRef query
= CFDictionaryCreate(NULL
, keys
, values
,
27 array_size(keys
), NULL
, NULL
);
28 CFTypeRef results
= NULL
;
29 is_status(SecItemCopyMatching(query
, &results
), errSecItemNotFound
,
31 is(results
, NULL
, "results still NULL?");
44 int si_00_find_nothing(int argc
, char *const *argv
)