warp-vpn

point to point VPN implementation
git clone git://git.2f30.org/warp-vpn
Log | Files | Refs | README

commit 71d4fc55051a7083a0e21e4c1c91739aa34227c5
parent d07690504794b0b8562a759cb309b5092158da42
Author: sin <sin@2f30.org>
Date:   Thu, 31 Mar 2016 23:20:07 +0100

increase to 100k rounds

Diffstat:
Mstun.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stun.c b/stun.c @@ -252,7 +252,7 @@ revokeprivs(void) int derivekey(char *pw, int pwlen) { - int nrounds = 1000; + int nrounds = 100000; if (PKCS5_PBKDF2_HMAC_SHA1(pw, pwlen, NULL, 0, nrounds, 32, aeskey) != 1) logerr("PKCS5_PBKDF2_HMAC_SHA1 failed");