tlsa_52.c revision 322e6b5be784d79d15fea9db9440dd821162c574
/*
* Copyright (C) 2012, 2014, 2015 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.
*/
/* rfc6698.txt */
#ifndef RDATA_GENERIC_TLSA_52_C
#define RDATA_GENERIC_TLSA_52_C
#define RRTYPE_TLSA_ATTRIBUTES 0
static inline isc_result_t
/*
* Certificate Usage.
*/
ISC_FALSE));
/*
* Selector.
*/
ISC_FALSE));
/*
* Matching type.
*/
ISC_FALSE));
/*
* Certificate Association Data.
*/
}
static inline isc_result_t
char buf[sizeof("64000 ")];
unsigned int n;
/*
* Certificate Usage.
*/
n = uint8_fromregion(&sr);
/*
* Selector.
*/
n = uint8_fromregion(&sr);
/*
* Matching type.
*/
n = uint8_fromregion(&sr);
/*
* Certificate Association Data.
*/
else
return (ISC_R_SUCCESS);
}
static inline isc_result_t
return (ISC_R_UNEXPECTEDEND);
}
static inline isc_result_t
}
static inline isc_result_t
}
static inline isc_result_t
target));
}
static inline isc_result_t
}
static inline int
}
static inline isc_result_t
}
static inline isc_result_t
return (ISC_R_NOMEMORY);
return (ISC_R_SUCCESS);
}
static inline void
return;
}
static inline isc_result_t
}
static inline isc_result_t
}
static inline void
}
static inline isc_result_t
return (ISC_R_SUCCESS);
}
static inline isc_result_t
isc_region_t r;
dns_rdata_toregion(rdata, &r);
}
static inline isc_boolean_t
return (ISC_TRUE);
}
static inline isc_boolean_t
return (ISC_TRUE);
}
static inline int
}
#endif /* RDATA_GENERIC_TLSA_52_C */