Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-03-13 06:02:20 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:13:26 +0300
commitf373f4e1d5af6ef6494d63e283ce90cd2c464292 (patch)
tree77b6d4b14695ec1fe0ab45e8069d12755393b56a /3party/tomcrypt
parent5beb3e8cde9364d34e49390f27b3e69112431fd6 (diff)
[qt] Integrated tomcrypt sha1 for unique user id
Diffstat (limited to '3party/tomcrypt')
-rw-r--r--3party/tomcrypt/src/headers/tomcrypt_cfg.h2
-rw-r--r--3party/tomcrypt/tomcrypt.pro17
2 files changed, 18 insertions, 1 deletions
diff --git a/3party/tomcrypt/src/headers/tomcrypt_cfg.h b/3party/tomcrypt/src/headers/tomcrypt_cfg.h
index 7feae6e8bd..83666d1595 100644
--- a/3party/tomcrypt/src/headers/tomcrypt_cfg.h
+++ b/3party/tomcrypt/src/headers/tomcrypt_cfg.h
@@ -45,7 +45,7 @@ LTC_EXPORT int LTC_CALL XSTRCMP(const char *s1, const char *s2);
/* type of argument checking, 0=default, 1=fatal and 2=error+continue, 3=nothing */
#ifndef ARGTYPE
- #define ARGTYPE 0
+ #define ARGTYPE 4
#endif
/* Controls endianess and size of registers. Leave uncommented to get platform neutral [slower] code
diff --git a/3party/tomcrypt/tomcrypt.pro b/3party/tomcrypt/tomcrypt.pro
new file mode 100644
index 0000000000..eee3c3c9cb
--- /dev/null
+++ b/3party/tomcrypt/tomcrypt.pro
@@ -0,0 +1,17 @@
+TARGET = tomcrypt
+ROOT_DIR = ../..
+include($$ROOT_DIR/common.pri)
+
+INCLUDEPATH += src/headers
+
+TEMPLATE = lib
+CONFIG += staticlib
+
+DEFINES += LTC_NO_ROLC
+
+SOURCES += \
+ src/hashes/sha2/sha256.c \
+ src/hashes/sha1.c \
+
+HEADERS += \
+ src/headers/tomcrypt.h \