Lines Matching refs:errstr
138 const char *errstr; in test_authkeys_parse() local
143 opts = sshauthopt_parse(keywords, &errstr); \ in test_authkeys_parse()
145 ASSERT_PTR_NE(errstr, NULL); \ in test_authkeys_parse()
150 if (errstr != NULL) \ in test_authkeys_parse()
151 ASSERT_STRING_EQ(errstr, ""); \ in test_authkeys_parse()
160 opts = sshauthopt_parse("", &errstr); in test_authkeys_parse()
166 opts = sshauthopt_parse(" ", &errstr); in test_authkeys_parse()
172 opts = sshauthopt_parse("restrict", &errstr); in test_authkeys_parse()
187 opts = sshauthopt_parse("tunnel=\"1\"", &errstr); in test_authkeys_parse()
194 opts = sshauthopt_parse("tunnel=\"any\"", &errstr); in test_authkeys_parse()
206 opts = sshauthopt_parse(keyword, &errstr); \ in test_authkeys_parse()
210 opts = sshauthopt_parse("restrict,"keyword, &errstr); \ in test_authkeys_parse()
237 opts = sshauthopt_parse(keyword "=" #val, &errstr); \ in test_authkeys_parse()
243 "restrict," keyword "=" #val ",restrict", &errstr); \ in test_authkeys_parse()
262 opts = sshauthopt_parse(keywords, &errstr); \ in test_authkeys_parse()
268 "restrict," keywords ",restrict", &errstr); \ in test_authkeys_parse()
381 const char *errstr; in test_merge() local
394 key_opts = sshauthopt_parse(keywords, &errstr); \ in test_merge()
395 if (errstr != NULL) \ in test_merge()
396 ASSERT_STRING_EQ(errstr, ""); \ in test_merge()
399 cert_opts, &errstr); \ in test_merge()
415 if (errstr != NULL) \ in test_merge()
416 ASSERT_STRING_EQ(errstr, ""); \ in test_merge()