Home
last modified time | relevance | path

Searched refs:critopts (Results 1 – 1 of 1) sorted by relevance

/external/openssh/regress/unittests/sshkey/
Dtest_sshkey.c59 struct sshbuf *ca_buf, *pk, *principals, *critopts, *exts; in build_cert() local
81 critopts = sshbuf_new(); in build_cert()
82 ASSERT_PTR_NE(critopts, NULL); in build_cert()
83 put_opt(critopts, "force-command", "/usr/local/bin/nethack"); in build_cert()
84 put_opt(critopts, "source-address", "192.168.0.0/24,127.0.0.1,::1"); in build_cert()
88 put_opt(critopts, "permit-X11-forwarding", NULL); in build_cert()
99 ASSERT_INT_EQ(sshbuf_put_stringb(b, critopts), 0); /* options */ in build_cert()
110 sshbuf_free(critopts); in build_cert()