Skip to content

Commit

Permalink
tagged v0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
philanc committed Aug 5, 2017
1 parent 477dfe5 commit 973a27f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package = "luatweetnacl"
version = "0.3-2"
version = "0.5-1"
source = {
url = "git://github.com/philanc/luatweetnacl"
}
Expand Down
8 changes: 7 additions & 1 deletion luatweetnacl.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Tanja Lange et al. -- http://nacl.cr.yp.to/
The version included here is the "Tweet" version ("NaCl in 100 tweets")
by Dan Bernstein et al. -- http://tweetnacl.cr.yp.to/index.html
170805
- replaced malloc()/free() buffer allocation with lua_newuserdata()
to prevent memory leaks in case of out-of-memory errors in
lua_pushlstring() calls. (as suggested by Daurnimator)
160827
- the leading 32 and 16 null bytes are no longer required or
returned to the user. This is processed in the Lua binding
Expand All @@ -34,7 +40,7 @@ NaCl specs: see http://nacl.cr.yp.to/
*/

#define LUATWEETNACL_VERSION "luatweetnacl-0.3"
#define LUATWEETNACL_VERSION "luatweetnacl-0.5"

#include <stdlib.h>
#include <stdio.h>
Expand Down

0 comments on commit 973a27f

Please sign in to comment.