Commit Graph

6901 Commits

Author SHA1 Message Date
Sree Harsha Totakura
7730a08349 util: avoid memcpy over overlapping memory
memcpy used to copy the currency string in TALER_amount_get_zero can copy from
overlapping memory regions.  This happens when the diff parameter to
TALER_amount_substract is same as a1 parameter.
2015-03-26 19:39:16 +01:00
Sree Harsha Totakura
ffe1ec4cb9 db: fix leftovers from #3716 2015-03-26 19:29:58 +01:00
Sree Harsha Totakura
10b693ace4 db: fix SIGSEGV in testcase 2015-03-26 19:29:03 +01:00
Sree Harsha Totakura
2a5691d8f8 db: testcase depends on the postgres plugin 2015-03-26 19:27:53 +01:00
Sree Harsha Totakura
0ab29c68c8 db: use correct testname 2015-03-26 18:36:52 +01:00
Sree Harsha Totakura
7e37ee5afe db: Free the connection_cfg_str created during postgres plugin load 2015-03-26 18:32:08 +01:00
Sree Harsha Totakura
c53a4d5b82 db: pick the right plugin in the DB testcase 2015-03-26 18:31:59 +01:00
Sree Harsha Totakura
f94bb0a3a0 db: Implement plugin loading and unloading 2015-03-26 18:06:37 +01:00
Christian Grothoff
a3ac2587cf Merge branch 'master' of git.taler.net:/var/git/mint 2015-03-24 18:27:24 +01:00
Christian Grothoff
ec05a64e3e space 2015-03-24 18:27:19 +01:00
Christian Grothoff
324bf3f980 fix #3484: sign over full key set as well 2015-03-24 17:53:13 +01:00
Christian Grothoff
d5acf53732 make kappa global fixed constant, not something to be negotiated, KISS 2015-03-24 17:25:00 +01:00
Christian Grothoff
f052af1e6b address #3731: no need for session public key or signature 2015-03-24 17:13:17 +01:00
Christian Grothoff
55959bd01d address #3708: melt_hash => session_hash, use session_hash for DB access, not session_pub 2015-03-24 16:56:06 +01:00
Christian Grothoff
73c9949fc5 formulating coding style 2015-03-24 13:19:38 +01:00
Christian Grothoff
7f79310aa1 fix #3728 2015-03-24 12:00:40 +01:00
Christian Grothoff
6e28917a45 -fix comments 2015-03-24 00:08:33 +01:00
Christian Grothoff
373fe1c138 avoid cast 2015-03-24 00:03:03 +01:00
Christian Grothoff
abc63eda98 avoid cast 2015-03-24 00:01:33 +01:00
Christian Grothoff
38fae8edf2 -resolving fixmes or annotating to bug tracker notes 2015-03-24 00:00:16 +01:00
Christian Grothoff
f73071bc62 fix #3638 2015-03-22 22:14:30 +01:00
Christian Grothoff
6c1081f1b5 fix #3642 2015-03-22 17:14:47 +01:00
Christian Grothoff
1d7bb2d091 fix #3636, and add amount parsing functionality to spec-parser 2015-03-22 17:10:45 +01:00
Christian Grothoff
884fff1297 fix #3637 2015-03-22 16:58:15 +01:00
Christian Grothoff
41478aea76 move deposit fee check to earlier 2015-03-22 16:20:03 +01:00
Christian Grothoff
3fe9a76098 move refresh fee check to earlier 2015-03-22 16:17:22 +01:00
Christian Grothoff
4ec78fba4e this was finished 2015-03-22 16:10:16 +01:00
Christian Grothoff
1277f8445d include fees in amounts being signed, check available balance on refresh 2015-03-22 16:09:01 +01:00
Christian Grothoff
c2a42d5475 this is actually OK 2015-03-22 14:58:40 +01:00
Christian Grothoff
b1133719bb forgot to add file earlier 2015-03-22 14:24:52 +01:00
Christian Grothoff
81e234e723 store and retrieve arrays from database where arrays are the unit of transaction, to reduce number of DB interactions 2015-03-22 14:21:16 +01:00
Christian Grothoff
3a94a76aac move free functions into plugin 2015-03-22 13:02:49 +01:00
Christian Grothoff
0d3ec509d7 move free functions into plugin 2015-03-22 13:02:11 +01:00
Christian Grothoff
53876904c5 fill in plugin vtable 2015-03-22 12:49:48 +01:00
Christian Grothoff
f7025fd630 fix testcase FTBFS 2015-03-21 14:21:00 +01:00
Christian Grothoff
067d489141 -fix FTBFS 2015-03-21 14:04:13 +01:00
Christian Grothoff
7d9a403275 first stab at establishing proper plugin API, main HTTP code compiles, other binaries FTBFS right now 2015-03-20 23:51:28 +01:00
Christian Grothoff
0414fb51a9 -link against libjansson 2015-03-19 21:52:11 +01:00
Christian Grothoff
fe0a75eaa0 use new GNUnet APIs to convert ECDSA to ECDHE keys 2015-03-19 14:23:43 +01:00
Christian Grothoff
10f75510c0 fix #3716: make sure amount-API offers proper checks against overflow and other issues 2015-03-18 18:57:36 +01:00
Christian Grothoff
6ba63aab84 fix #3716: make sure amount-API offers proper checks against overflow and other issues 2015-03-18 18:56:48 +01:00
Christian Grothoff
1f3f4ed8dd Merge branch 'master' of git+ssh://taler.net/var/git/mint 2015-03-18 18:55:46 +01:00
Christian Grothoff
23bf1eee74 fix #3716: make sure amount-API offers proper checks against overflow and other issues 2015-03-18 18:55:41 +01:00
Sree Harsha Totakura
e6b13123d7 update reserve summary when withdraws are made through insert_collectible_blindcoin 2015-03-18 13:50:03 +01:00
Christian Grothoff
08958c73e8 add refs to bugtracker 2015-03-17 14:54:04 +01:00
Christian Grothoff
e0ae4e1290 conclude taler-mint-keyup initial review 2015-03-17 14:45:31 +01:00
Christian Grothoff
b314f07431 make keyup configuration structure more logical 2015-03-17 14:34:55 +01:00
Christian Grothoff
93d1fe6e68 simplify 2015-03-17 12:27:26 +01:00
Christian Grothoff
2018a6b713 use existing log functions more 2015-03-17 12:17:42 +01:00
Christian Grothoff
4eeaff1355 documentation, comments 2015-03-17 11:37:21 +01:00