/*
Authors:
Jan Cholasta <jcholast@redhat.com>
Copyright (C) 2012 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 <ldb.h>
#include "util/crypto/sss_crypto.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"
/* Locally used flag for libldb's ldb_message_element structure to indicate
* binary data. Since the related data is only used in memory it is safe. If
* should be used with care if libldb's I/O operations are involved. */
struct ldb_message_element *el_cert,
struct ldb_message_element **_el_res)
{
char *cert_verification_opts;
int ret;
size_t d;
return EOK;
}
return ENOMEM;
}
"Failed to read p11_child_timeout from confdb: [%d] %s\n",
goto done;
}
"Failed to parse verifiy option.\n");
goto done;
}
goto done;
}
goto done;
}
for (d = 0; d < el_cert->num_values; d++) {
continue;
}
el_res->num_values++;
}
if (el_res->num_values == 0) {
} else {
}
done:
return ret;
}
struct ldb_message_element *el,
bool skip_base64_decode,
const char *fqname,
size_t *c)
{
int ret;
size_t d;
return EOK;
}
return ENOMEM;
}
for (d = 0; d < el->num_values; d++) {
} else {
&key_len);
goto done;
}
}
goto done;
}
SAFEALIGN_SET_UINT32(body+(*c), 0, c);
}
done:
return ret;
}
static errno_t
struct sss_domain_info *domain,
struct ldb_message *msg,
struct ldb_message_element ***_elements,
{
uint32_t i = 0;
return ENOMEM;
}
i++;
}
i++;
}
if (DOM_HAS_VIEWS(domain)) {
i++;
}
}
goto done;
}
i++;
}
}
if (DOM_HAS_VIEWS(domain)) {
&elements[i]);
goto done;
}
i++;
}
}
}
done:
}
return ret;
}
static errno_t
struct sized_string *sz_name)
{
const char *name;
return ENOENT;
}
return EOK;
}
struct cache_req_result *result)
{
size_t c = 0;
int i;
return ENOMEM;
}
goto done;
}
goto done;
}
goto done;
}
SAFEALIGN_SET_UINT32(&body[c], 0, &c);
if (num_keys == 0) {
goto done;
}
goto done;
}
}
done:
return ret;
}