From 70338f50fa9a80d7a8c6230d310ede6eccfc7da0 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Mon, 23 May 2011 10:19:31 +0000
Subject: [PATCH] - Fixed position of padlock error definition
---
include/polarssl/padlock.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/polarssl/padlock.h b/include/polarssl/padlock.h
index 6a0bda223..08fbe825c 100644
--- a/include/polarssl/padlock.h
+++ b/include/polarssl/padlock.h
@@ -29,6 +29,8 @@
#include "polarssl/aes.h"
+#define POLARSSL_ERR_PADLOCK_DATA_MISALIGNED -0x0030 /**< Input data should be aligned. */
+
#if defined(POLARSSL_HAVE_ASM) && defined(__GNUC__) && defined(__i386__)
#ifndef POLARSSL_HAVE_X86
@@ -42,8 +44,6 @@
#define PADLOCK_ALIGN16(x) (unsigned long *) (16 + ((long) x & ~15))
-#define POLARSSL_ERR_PADLOCK_DATA_MISALIGNED -0x0030 /**< Input data should be aligned. */
-
#ifdef __cplusplus
extern "C" {
#endif