Lines Matching defs:init
43 DigestInit init;
70 free_DigestInit(&digest->init);
85 if (digest->init.channel) {
90 digest->init.channel = calloc(1, sizeof(*digest->init.channel));
91 if (digest->init.channel == NULL)
94 digest->init.channel->cb_type = strdup(type);
95 if (digest->init.channel->cb_type == NULL)
98 digest->init.channel->cb_binding = strdup(binding);
99 if (digest->init.channel->cb_binding == NULL)
103 if (digest->init.channel) {
104 free(digest->init.channel->cb_type);
105 free(digest->init.channel->cb_binding);
106 free(digest->init.channel);
107 digest->init.channel = NULL;
118 if (digest->init.type) {
122 digest->init.type = strdup(type);
123 if (digest->init.type == NULL) {
135 if (digest->init.hostname) {
139 digest->init.hostname = malloc(sizeof(*digest->init.hostname));
140 if (digest->init.hostname == NULL) {
144 *digest->init.hostname = strdup(hostname);
145 if (*digest->init.hostname == NULL) {
147 free(digest->init.hostname);
148 digest->init.hostname = NULL;
422 if (digest->init.type == NULL) {
424 N_("Type missing from init req", ""));
429 ireq.u.init = digest->init;
438 krb5_set_error_message(context, ret, N_("Digest init error: %s", ""),
722 if (digest->init.type == NULL) {
727 ireq.u.digestRequest.type = digest->init.type;
834 NTLMInit init;
855 free_NTLMInit(&ntlm->init);
881 ntlm->init.flags = flags;
883 ALLOC(ntlm->init.hostname, 1);
884 *ntlm->init.hostname = strdup(hostname);
887 ALLOC(ntlm->init.domain, 1);
888 *ntlm->init.domain = strdup(domainname);
892 ireq.u.ntlmInit = ntlm->init;
901 krb5_set_error_message(context, ret, N_("Digest init error: %s", ""),