Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
lime
Commits
46177e33
Commit
46177e33
authored
Jul 05, 2018
by
jehan
Browse files
fix EC25519_ENABLED defines
parent
619bb910
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
CMakeLists.txt
+1
-1
src/lime_crypto_primitives.cpp
src/lime_crypto_primitives.cpp
+2
-2
src/lime_double_ratchet_protocol.hpp
src/lime_double_ratchet_protocol.hpp
+1
-1
No files found.
CMakeLists.txt
View file @
46177e33
...
...
@@ -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"
)
...
...
src/lime_crypto_primitives.cpp
View file @
46177e33
...
...
@@ -24,7 +24,7 @@
namespace
lime
{
/* template instanciations for Curves 25519 and 448, done */
#if
def
EC255_ENABLED
#if EC255
19
_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
#if
def
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
>;
...
...
src/lime_double_ratchet_protocol.hpp
View file @
46177e33
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment