2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

_tostruct had a few typos.

This commit is contained in:
Brian Wellington
2000-08-10 01:59:39 +00:00
parent 674f1cfb1d
commit 2f507825cf

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: key_25.c,v 1.29 2000/08/01 01:25:22 tale Exp $ */ /* $Id: key_25.c,v 1.30 2000/08/10 01:59:39 bwelling Exp $ */
/* /*
* Reviewed: Wed Mar 15 16:47:10 PST 2000 by halley. * Reviewed: Wed Mar 15 16:47:10 PST 2000 by halley.
@@ -206,13 +206,13 @@ tostruct_key(ARGS_TOSTRUCT) {
/* Protocol */ /* Protocol */
if (sr.length < 1) if (sr.length < 1)
return (ISC_R_UNEXPECTEDEND); return (ISC_R_UNEXPECTEDEND);
key->flags = uint8_fromregion(&sr); key->protocol = uint8_fromregion(&sr);
isc_region_consume(&sr, 1); isc_region_consume(&sr, 1);
/* Algorithm */ /* Algorithm */
if (sr.length < 1) if (sr.length < 1)
return (ISC_R_UNEXPECTEDEND); return (ISC_R_UNEXPECTEDEND);
key->flags = uint8_fromregion(&sr); key->algorithm = uint8_fromregion(&sr);
isc_region_consume(&sr, 1); isc_region_consume(&sr, 1);
/* Data */ /* Data */