#else
return -1;
#endif
- } else {
- if (crypto_box_beforenm(nmkey,
- query_header->publickey,
- cert->keypair->crypt_secretkey) != 0) {
- return -1;
- }
- }
- // Cache the shared secret we just computed.
- dnsc_shared_secret_cache_insert(env->shared_secrets_cache,
+ } else {
+ if (crypto_box_beforenm(nmkey,
+ query_header->publickey,
+ cert->keypair->crypt_secretkey) != 0) {
+ return -1;
+ }
+ }
+ // Cache the shared secret we just computed.
+ dnsc_shared_secret_cache_insert(env->shared_secrets_cache,
key,
hash,
nmkey);
This further lowers the max to 256.
- Fix snprintf() supports the n-specifier,
reported by X41 D-Sec.
+ - Fix Bad Indentation, in dnscrypt.c,
+ reported by X41 D-Sec.
2 December 2019: Wouter
- Merge pull request #122 from he32: In tcp_callback_writer(),