Permalink
Browse files

Fix some returns

  • Loading branch information...
mbasaglia committed Nov 8, 2015
1 parent a54374b commit 4fdc624e7ab3e25014512abae2c56a1c7c69b046
Showing with 2 additions and 2 deletions.
  1. +1 −1 daemon/src/engine/server/Crypto.cpp
  2. +1 −1 daemon/src/engine/server/CryptoChallege.h
@@ -75,7 +75,7 @@ static int nettle_compat_base64_decode_update(base64_decode_ctx *ctx,
const uint8_t *src)
{
unsigned dst_length_uns = *dst_length;
nettle_base64_decode_update(ctx, &dst_length_uns, dst, src_length, src);
return nettle_base64_decode_update(ctx, &dst_length_uns, dst, src_length, src);
}
#undef aes256_set_encrypt_key
@@ -142,7 +142,7 @@ class ChallengeManager
return singleton;
}
int MaxChallenges() const
std::size_t MaxChallenges() const
{
// TODO Read this from a cvar
return 1024;

0 comments on commit 4fdc624

Please sign in to comment.