pubkey->key_flags, pubkey->key_proto,
pubkey->key_size, pubkey->key_class,
pubkey->key_ttl, mctx);
- if (key == NULL) {
- RETERR(ISC_R_NOMEMORY);
- }
if (key->func->parse == NULL) {
RETERR(DST_R_UNSUPPORTEDALG);
key = get_key_struct(name, DST_ALG_GSSAPI, 0, DNS_KEYPROTO_DNSSEC, 0,
dns_rdataclass_in, 0, mctx);
- if (key == NULL) {
- return (ISC_R_NOMEMORY);
- }
if (intoken != NULL) {
/*
key = get_key_struct(name, alg, flags, protocol, bits, rdclass, 0,
mctx);
- if (key == NULL) {
- return (ISC_R_NOMEMORY);
- }
key->keydata.generic = data;
CHECKALG(alg);
key = get_key_struct(name, alg, flags, protocol, 0, rdclass, 0, mctx);
- if (key == NULL) {
- return (ISC_R_NOMEMORY);
- }
if (key->func->fromlabel == NULL) {
dst_key_free(&key);
key = get_key_struct(name, alg, flags, protocol, bits, rdclass, 0,
mctx);
- if (key == NULL) {
- return (ISC_R_NOMEMORY);
- }
if (bits == 0) { /*%< NULL KEY */
key->key_flags |= DNS_KEYTYPE_NOKEY;
}
key = get_key_struct(name, alg, flags, protocol, 0, rdclass, 0, mctx);
- if (key == NULL) {
- return (ISC_R_NOMEMORY);
- }
result = (dst_t_func[alg]->restore)(key, keystr);
if (result == ISC_R_SUCCESS) {
REQUIRE(keyp != NULL && *keyp == NULL);
key = get_key_struct(name, alg, flags, protocol, 0, rdclass, 0, mctx);
- if (key == NULL) {
- return (ISC_R_NOMEMORY);
- }
if (isc_buffer_remaininglength(source) > 0) {
ret = algorithm_status(alg);