Commit 46177e33 authored by jehan's avatar jehan

fix EC25519_ENABLED defines

parent 619bb910
......@@ -84,7 +84,7 @@ if(MSVC)
list(APPEND STRICT_OPTIONS_CPP "/WX")
endif()
else()
list(APPEND STRICT_OPTIONS_CXX "-std=c++11 -O2")
list(APPEND STRICT_OPTIONS_CXX "-std=c++11")
#list(APPEND STRICT_OPTIONS_CPP "-Wall" "-Wuninitialized" "-Wno-error=deprecated-declarations") # turn off deprecated-declaration warning to avoid being flooded by soci.h
list(APPEND STRICT_OPTIONS_CPP "-Wall" "-Wuninitialized" "-Wno-deprecated-declarations" "-Wno-missing-field-initializers")
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
......
......@@ -24,7 +24,7 @@
namespace lime {
/* template instanciations for Curves 25519 and 448, done */
#ifdef EC255_ENABLED
#if EC25519_ENABLED
template class X<C255, lime::Xtype::publicKey>;
template class X<C255, lime::Xtype::privateKey>;
template class X<C255, lime::Xtype::sharedSecret>;
......@@ -35,7 +35,7 @@ namespace lime {
template class DSApair<C255>;
#endif
#ifdef EC448_ENABLED
#if EC448_ENABLED
template class X<C448, lime::Xtype::publicKey>;
template class X<C448, lime::Xtype::privateKey>;
template class X<C448, lime::Xtype::sharedSecret>;
......
......@@ -111,7 +111,7 @@ namespace lime {
/* ctor/dtor */
DRHeader() = delete;
DRHeader(const std::vector<uint8_t> header);
~DRHeader() = default;
~DRHeader() {};
};
/* this templates are intanciated in lime_double_ratchet_procotocol.cpp, do not re-instanciate it anywhere else */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment