2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

dst_sig_size fix

This commit is contained in:
Brian Wellington 1999-08-27 15:56:33 +00:00
parent 6c2add5009
commit b0a1546de9

View File

@ -17,7 +17,7 @@
/*
* Principal Author: Brian Wellington
* $Id: dst_api.c,v 1.5 1999/08/26 20:41:54 bwelling Exp $
* $Id: dst_api.c,v 1.6 1999/08/27 15:56:33 bwelling Exp $
*/
#include <config.h>
@ -596,7 +596,7 @@ dst_sig_size(const dst_key_t *key) {
switch (key->key_alg) {
case DST_ALG_RSA:
return key->key_size;
return (key->key_size + 7) / 8;
case DST_ALG_DSA:
return (NS_DSA_SIG_SIZE);
case DST_ALG_HMAC_MD5: