ipkeylist.c revision 4681ab1fc2c40e1d70fae38e64630c72c51c300e
/*
* Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
*
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
#include <config.h>
#include <string.h>
#include <isc/sockaddr.h>
#include <dns/ipkeylist.h>
void
}
void
isc_uint32_t i;
return;
continue;
}
}
continue;
}
}
}
{
isc_uint32_t i;
/* dst might be preallocated, we don't care, but it must be empty */
return (ISC_R_SUCCESS);
if (result != ISC_R_SUCCESS)
return (result);
}
sizeof(dns_name_t));
goto cleanup_keys;
}
if (result != ISC_R_SUCCESS)
goto cleanup_keys;
} else {
}
}
}
sizeof(dns_name_t));
goto cleanup_labels;
}
if (result != ISC_R_SUCCESS)
goto cleanup_labels;
} else {
}
}
}
return (ISC_R_SUCCESS);
do {
}
} while (i-- > 0);
do {
}
} while (i-- > 0);
return (result);
}
return (ISC_R_SUCCESS);
goto nomemory;
goto nomemory;
goto nomemory;
goto nomemory;
return (ISC_R_SUCCESS);
return (ISC_R_NOMEMORY);
}