trousers/trousers-0.3.1-limits.patch
2008-06-03 20:40:27 +00:00

34 lines
1.3 KiB
Diff

diff -pur ./trousers-0.3.1/src/trspi/crypto/openssl/symmetric.c ./trousers-0.3.1.new/src/trspi/crypto/openssl/symmetric.c
--- ./trousers-0.3.1/src/trspi/crypto/openssl/symmetric.c 2008-03-01 14:40:51.000000000 -0800
+++ ./trousers-0.3.1.new/src/trspi/crypto/openssl/symmetric.c 2008-03-01 14:51:32.000000000 -0800
@@ -20,6 +20,7 @@
#include <openssl/evp.h>
#include <openssl/err.h>
#include <openssl/rand.h>
+#include <limits.h>
#include "trousers/tss.h"
#include "trousers/trousers.h"
diff -pur ./trousers-0.3.1/src/tspi/tspi_aik.c ./trousers-0.3.1.new/src/tspi/tspi_aik.c
--- ./trousers-0.3.1/src/tspi/tspi_aik.c 2007-09-25 11:57:58.000000000 -0700
+++ ./trousers-0.3.1.new/src/tspi/tspi_aik.c 2008-03-01 15:06:06.000000000 -0800
@@ -12,6 +12,7 @@
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
+#include <limits.h>
#include "trousers/tss.h"
#include "trousers/trousers.h"
diff -pur ./trousers-0.3.1/src/tspi/tsp_ps.c ./trousers-0.3.1.new/src/tspi/tsp_ps.c
--- ./trousers-0.3.1/src/tspi/tsp_ps.c 2007-07-19 11:00:05.000000000 -0700
+++ ./trousers-0.3.1.new/src/tspi/tsp_ps.c 2008-03-01 15:05:10.000000000 -0800
@@ -15,6 +15,7 @@
#include <string.h>
#include <unistd.h>
#include <stdio.h>
+#include <limits.h>
#include "trousers/tss.h"
#include "trousers/trousers.h"