mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
_tostruct had a few typos.
This commit is contained in:
parent
674f1cfb1d
commit
2f507825cf
@ -15,7 +15,7 @@
|
||||
* 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.
|
||||
@ -206,13 +206,13 @@ tostruct_key(ARGS_TOSTRUCT) {
|
||||
/* Protocol */
|
||||
if (sr.length < 1)
|
||||
return (ISC_R_UNEXPECTEDEND);
|
||||
key->flags = uint8_fromregion(&sr);
|
||||
key->protocol = uint8_fromregion(&sr);
|
||||
isc_region_consume(&sr, 1);
|
||||
|
||||
/* Algorithm */
|
||||
if (sr.length < 1)
|
||||
return (ISC_R_UNEXPECTEDEND);
|
||||
key->flags = uint8_fromregion(&sr);
|
||||
key->algorithm = uint8_fromregion(&sr);
|
||||
isc_region_consume(&sr, 1);
|
||||
|
||||
/* Data */
|
||||
|
Loading…
x
Reference in New Issue
Block a user