use known length for known algorithns in fromtext_dlv cf fromtext_ds

This commit is contained in:
Mark Andrews
2013-01-09 21:08:38 +11:00
parent bfcc458e8e
commit 087cf7aa6c
+1 -1
View File
@@ -80,7 +80,7 @@ fromtext_dlv(ARGS_FROMTEXT) {
length = ISC_SHA256_DIGESTLENGTH;
else
length = -1;
return (isc_hex_tobuffer(lexer, target, -1));
return (isc_hex_tobuffer(lexer, target, length));
}
static inline isc_result_t