]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Use torint.h in curve25519-donna*.c
authorNick Mathewson <nickm@torproject.org>
Thu, 14 Feb 2013 20:34:38 +0000 (15:34 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 14 Feb 2013 20:34:38 +0000 (15:34 -0500)
This will get it building on systems that lack stdint.h

changes/integers_donna [new file with mode: 0644]
src/ext/curve25519_donna/curve25519-donna-c64.c
src/ext/curve25519_donna/curve25519-donna.c

diff --git a/changes/integers_donna b/changes/integers_donna
new file mode 100644 (file)
index 0000000..e9c69e8
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes (portability)
+    - Tweak the curve25519-donna*.c implementations to tolerate systems
+      that lack stdint.h. Fixes bug 3894; bugfix on 0.2.4.8-alpha.
index 9ebd8a12d8af88e67485d83c3199ec76b64e8dae..b68ff3695a7ced56ab7250efae5d2ae55c5be7e5 100644 (file)
  * from the sample implementation.
  */
 
+#include "orconfig.h"
+
 #include <string.h>
-#include <stdint.h>
+#include "torint.h"
 
 typedef uint8_t u8;
 typedef uint64_t limb;
index 80e4594eecd42e1097fd79ed6dda79e6a5d92dc2..5c6821ccd8614d93344035e204aab676eac47bda 100644 (file)
  * from the sample implementation.
  */
 
+#include "orconfig.h"
+
 #include <string.h>
-#include <stdint.h>
+#include "torint.h"
 
 typedef uint8_t u8;
 typedef int32_t s32;