Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
60387eb4
Commit
60387eb4
authored
Sep 07, 2017
by
Evan Hunt
Browse files
[master] windows can't cope with #ifdef in a macro expansion
parent
7bd8900a
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/tsig.c
View file @
60387eb4
...
...
@@ -133,16 +133,16 @@ tsigkey_free(dns_tsigkey_t *key);
isc_boolean_t
dns__tsig_algvalid
(
unsigned
int
alg
)
{
return
(
ISC_TF
(
#ifndef PK11_MD5_DISABLE
alg
==
DST_ALG_HMACMD5
||
if
(
alg
==
DST_ALG_HMACMD5
)
{
return
(
ISC_TRUE
);
}
#endif
alg
==
DST_ALG_HMACSHA1
||
alg
==
DST_ALG_HMACSHA224
||
alg
==
DST_ALG_HMACSHA256
||
alg
==
DST_ALG_HMACSHA384
||
alg
==
DST_ALG_HMACSHA512
));
return
(
ISC_TF
(
alg
==
DST_ALG_HMACSHA1
||
alg
==
DST_ALG_HMACSHA224
||
alg
==
DST_ALG_HMACSHA256
||
alg
==
DST_ALG_HMACSHA384
||
alg
==
DST_ALG_HMACSHA512
));
}
static
void
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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