projects
/
platform
/
core
/
security
/
yaca.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6832d41
)
Bugfix: yaca_encrypt_final used in decryption
29/66829/1
author
Dariusz Michaluk
<d.michaluk@samsung.com>
Thu, 21 Apr 2016 09:45:31 +0000
(11:45 +0200)
committer
Dariusz Michaluk
<d.michaluk@samsung.com>
Thu, 21 Apr 2016 09:45:31 +0000
(11:45 +0200)
Change-Id: I26f60bc9adfd8e55390a1522c6d36197cccc46b5
examples/encrypt.c
patch
|
blob
|
history
diff --git
a/examples/encrypt.c
b/examples/encrypt.c
index
eb8f3ce
..
303bcd7
100644
(file)
--- a/
examples/encrypt.c
+++ b/
examples/encrypt.c
@@
-207,7
+207,7
@@
void encrypt_advanced(void)
goto ex_in;
rem = dec_size - out_size;
- ret = yaca_
en
crypt_final(ctx, dec + out_size, &rem);
+ ret = yaca_
de
crypt_final(ctx, dec + out_size, &rem);
if (ret < 0)
goto ex_in;