# HG changeset patch # User Ivo Smits # Date 1298929630 -3600 # Node ID 04384d01b1d71637af7793692bd59dfd649c5057 # Parent 84e0f7ead5837630952262f2f8598b07aea8703c Added build script, changed header location diff -r 84e0f7ead583 -r 04384d01b1d7 build.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.sh Mon Feb 28 22:47:10 2011 +0100 @@ -0,0 +1,9 @@ +#!/bin/sh +rm -rf build +mkdir build +cp -r config.m4 nacl.c php_nacl.h tests build/ +cd build +phpize +./configure +make +make test diff -r 84e0f7ead583 -r 04384d01b1d7 nacl.c --- a/nacl.c Sun Feb 27 23:56:54 2011 +0100 +++ b/nacl.c Mon Feb 28 22:47:10 2011 +0100 @@ -26,7 +26,9 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include "nacl_crypto_box.h" + +#include "nacl/crypto_box_curve25519xsalsa20poly1305.h" +#include "nacl/crypto_scalarmult_curve25519.h" #include "php.h" #include "php_ini.h"