stun

simple point to point tunnel
git clone git://git.2f30.org/stun
Log | Files | Refs | README

commit 92410613fa0908b76ad397f237278d44c4e12dae
parent c2534b1060fe2c141dee3aa4bda7c7df91baa97d
Author: sin <sin@2f30.org>
Date:   Thu, 31 Mar 2016 16:49:56 +0100

rename prepkey to derivekey

Diffstat:
Mstun.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/stun.c b/stun.c @@ -244,7 +244,7 @@ revokeprivs(void) } int -prepkey(char *pw, int pwlen) +derivekey(char *pw, int pwlen) { int nrounds = 1000; @@ -804,7 +804,7 @@ main(int argc, char *argv[]) pw = getenv("STUNPW"); if (!pw) logerr("STUNPW is not set"); - prepkey(pw, strlen(pw)); + derivekey(pw, strlen(pw)); explicit_bzero(pw, strlen(pw)); aesinit(&ectx, &dctx);