Adapt sources to configurable config.h name

This commit is contained in:
Manuel Pégourié-Gonnard 2014-04-29 12:39:06 +02:00 committed by Paul Bakker
parent 27f1caed02
commit cef4ad2509
155 changed files with 621 additions and 1 deletions

View file

@ -30,7 +30,11 @@
#ifndef POLARSSL_CIPHER_H
#define POLARSSL_CIPHER_H
#if !defined(POLARSSL_CONFIG_FILE)
#include "config.h"
#else
#include POLARSSL_CONFIG_FILE
#endif
#if defined(POLARSSL_GCM_C)
#define POLARSSL_CIPHER_MODE_AEAD