Mercurial > hg > quicktun
diff src/proto.nacl0.c @ 6:cf9b44b46be5
Use stderr for output instead of stdout, added debugging code to nacltai
author | root <root@Really.UFO-Net.nl> |
---|---|
date | Fri, 08 Oct 2010 23:29:56 +0000 |
parents | 65c01f57bdce |
children | dfac56805c77 |
line wrap: on
line diff
--- a/src/proto.nacl0.c Sat Oct 09 01:28:25 2010 +0200 +++ b/src/proto.nacl0.c Fri Oct 08 23:29:56 2010 +0000 @@ -72,6 +72,7 @@ if (strlen(envval) != 2*crypto_box_PUBLICKEYBYTES) return errorexit("PRIVATE_KEY length"); hex2bin(csecretkey, envval, crypto_box_SECRETKEYBYTES); crypto_box_beforenm(d->cbefore, cpublickey, csecretkey); + return 0; } #ifdef COMBINED_BINARY