tlsa_52.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 2012, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* 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 */