Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
3e89268f
Commit
3e89268f
authored
Jan 11, 2001
by
Brian Wellington
Browse files
isc_buffer_region -> isc_buffer_usedregion
parent
e5fb13fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/tkey.c
View file @
3e89268f
...
...
@@ -16,7 +16,7 @@
*/
/*
* $Id: tkey.c,v 1.5
8
2001/01/
09 21:51:38
bwelling Exp $
* $Id: tkey.c,v 1.5
9
2001/01/
11 04:00:17
bwelling Exp $
*/
#include
<config.h>
...
...
@@ -881,7 +881,7 @@ dns_tkey_builddhquery(dns_message_t *msg, dst_key_t *key, dns_name_t *name,
tkey
.
expire
=
now
+
lifetime
;
tkey
.
mode
=
DNS_TKEYMODE_DIFFIEHELLMAN
;
if
(
nonce
!=
NULL
)
isc_buffer_region
(
nonce
,
&
r
);
isc_buffer_
used
region
(
nonce
,
&
r
);
else
{
r
.
base
=
isc_mem_get
(
msg
->
mctx
,
0
);
r
.
length
=
0
;
...
...
@@ -1119,7 +1119,7 @@ dns_tkey_processdhresponse(dns_message_t *qmsg, dns_message_t *rmsg,
r
.
base
=
rtkey
.
key
;
r
.
length
=
rtkey
.
keylen
;
if
(
nonce
!=
NULL
)
isc_buffer_region
(
nonce
,
&
r2
);
isc_buffer_
used
region
(
nonce
,
&
r2
);
else
{
r2
.
base
=
isc_mem_get
(
rmsg
->
mctx
,
0
);
r2
.
length
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment