mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 00:29:58 -05:00
- Fix Bad Indentation, in dnscrypt.c,
reported by X41 D-Sec.
This commit is contained in:
parent
9ce6119513
commit
4a7ebfabcf
2 changed files with 11 additions and 9 deletions
|
|
@ -316,15 +316,15 @@ dnscrypt_server_uncurve(struct dnsc_env* env,
|
||||||
#else
|
#else
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
if (crypto_box_beforenm(nmkey,
|
if (crypto_box_beforenm(nmkey,
|
||||||
query_header->publickey,
|
query_header->publickey,
|
||||||
cert->keypair->crypt_secretkey) != 0) {
|
cert->keypair->crypt_secretkey) != 0) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Cache the shared secret we just computed.
|
// Cache the shared secret we just computed.
|
||||||
dnsc_shared_secret_cache_insert(env->shared_secrets_cache,
|
dnsc_shared_secret_cache_insert(env->shared_secrets_cache,
|
||||||
key,
|
key,
|
||||||
hash,
|
hash,
|
||||||
nmkey);
|
nmkey);
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,8 @@
|
||||||
This further lowers the max to 256.
|
This further lowers the max to 256.
|
||||||
- Fix snprintf() supports the n-specifier,
|
- Fix snprintf() supports the n-specifier,
|
||||||
reported by X41 D-Sec.
|
reported by X41 D-Sec.
|
||||||
|
- Fix Bad Indentation, in dnscrypt.c,
|
||||||
|
reported by X41 D-Sec.
|
||||||
|
|
||||||
2 December 2019: Wouter
|
2 December 2019: Wouter
|
||||||
- Merge pull request #122 from he32: In tcp_callback_writer(),
|
- Merge pull request #122 from he32: In tcp_callback_writer(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue