ldns_rdf2buffer_str_alg(ldns_buffer *output, const ldns_rdf *rdf)
{
	/* don't use algorithm mnemonics in the presentation format
	   this kind of got sneaked into the rfc's */
        uint8_t data = ldns_rdf_data(rdf)[0];
		ldns_buffer_printf(output, "%d", data);
	return ldns_buffer_status(output);
}
ldns_rdf2buffer_str_alg(ldns_buffer *output, const ldns_rdf *rdf)
{
	 
        uint8_t data = ldns_rdf_data(rdf)[0];
		ldns_buffer_printf(output, "%d", data);
	return ldns_buffer_status(output);
}