/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2017 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include <talloc.h>
#include "responder/common/responder.h"
#include "responder/common/responder_packet.h"
#include "responder/common/cache_req/cache_req.h"
#include "responder/ssh/ssh_private.h"
{
switch (error) {
case EOK:
/* Create empty packet if none was provided. */
goto done;
}
}
goto done;
default:
goto done;
}
done:
return ret;
}
return EOK;
}
struct cache_req_result *result)
{
goto done;
}
goto done;
}
done:
}
static errno_t
const char *default_domain,
const char **_name,
const char **_alias,
const char **_domain)
{
size_t c = 0;
return EINVAL;
}
return EINVAL;
}
return EINVAL;
}
c += name_len;
if (flags & SSS_SSH_REQ_ALIAS) {
return EINVAL;
}
return EINVAL;
}
c += alias_len;
}
if (flags & SSS_SSH_REQ_DOMAIN) {
if (domain_len > 0) {
if (domain_len > body_len - c) {
return EINVAL;
}
"Domain is not valid UTF-8 string\n");
return EINVAL;
}
c += domain_len;
} else {
}
}
}
}
}
return EOK;
}
const char *default_domain,
const char **_name,
const char **_domain)
{
}
const char **_name,
const char **_alias,
const char **_domain)
{
}