aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-07-07 12:20:56 +0000
committerNIIBE Yutaka <[email protected]>2017-07-07 12:20:56 +0000
commit994d5b707559a800a650dc7f273372f509d74780 (patch)
tree6ba08df181814d1d7d3e950a746ac4696f87b8dc
parentrsa: Add exponent blinding. (diff)
downloadgnupg-994d5b707559a800a650dc7f273372f509d74780.tar.gz
gnupg-994d5b707559a800a650dc7f273372f509d74780.zip
rsa: Allow different build directory.
* cipher/Makefile.am (AM_CPPFLAGS): Add mpi dirs. * cipher/rsa.c: Change include file. Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--cipher/Makefile.am2
-rw-r--r--cipher/rsa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cipher/Makefile.am b/cipher/Makefile.am
index 6b923b244..bd79fbcdd 100644
--- a/cipher/Makefile.am
+++ b/cipher/Makefile.am
@@ -17,7 +17,7 @@
# along with this program; if not, see <http://www.gnu.org/licenses/>.
## Process this file with automake to produce Makefile.in
-AM_CPPFLAGS = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl
+AM_CPPFLAGS = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl -I$(top_srcdir)/mpi -I../mpi
if ! HAVE_DOSISH_SYSTEM
AM_CPPFLAGS += -DGNUPG_LIBDIR="\"$(libdir)/@PACKAGE@\""
diff --git a/cipher/rsa.c b/cipher/rsa.c
index 5d7b4f763..84a1af0e5 100644
--- a/cipher/rsa.c
+++ b/cipher/rsa.c
@@ -29,7 +29,7 @@
#include <string.h>
#include "util.h"
#include "mpi.h"
-#include "../mpi/mpi-internal.h"
+#include "mpi-internal.h"
#include "cipher.h"
#include "rsa.h"