Version 0.5.0 of tinydtls

Dependents:   tinydtls_test_cellular tinydtls_test_ethernet tiny-dtls

Files at this revision

API Documentation at this revision

Comitter:
ashleymills
Date:
Wed Feb 12 09:30:16 2014 +0000
Parent:
0:ff9ebe0cf0e9
Commit message:
Explicitly removed something instead of relying on MACRO to disable it. Mbed can't use it.

Changed in this revision

aes/rijndael.c Show annotated file Show diff for this revision Revisions of this file
dtls.h Show annotated file Show diff for this revision Revisions of this file
diff -r ff9ebe0cf0e9 -r 598a56fe116e aes/rijndael.c
--- a/aes/rijndael.c	Fri Oct 18 13:18:30 2013 +0000
+++ b/aes/rijndael.c	Wed Feb 12 09:30:16 2014 +0000
@@ -26,9 +26,9 @@
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include "config.h"
-#ifndef MBED
-#include <sys/param.h>
-#endif
+//#ifndef MBED
+//#include <sys/param.h>
+//#endif
 
 /* #include <sys/systm.h> */
 
diff -r ff9ebe0cf0e9 -r 598a56fe116e dtls.h
--- a/dtls.h	Fri Oct 18 13:18:30 2013 +0000
+++ b/dtls.h	Wed Feb 12 09:30:16 2014 +0000
@@ -34,6 +34,8 @@
 
 #include <stdint.h>
 
+#define MBED
+
 #include "t_list.h"
 #include "state.h"
 #include "peer.h"
@@ -418,8 +420,6 @@
 			   const session_t *session);
 
 
-#endif /* _DTLS_H_ */
-
 /**
  * @mainpage 
  *
@@ -723,4 +723,6 @@
 
 #ifdef __cplusplus
 }
-#endif
\ No newline at end of file
+#endif
+
+#endif /* _DTLS_H_ */
\ No newline at end of file