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:
a05250f
)
If data_len is strange here it's OpenSSL's fault, not inputs
94/231894/7
author
Lukasz Pawelczyk
<l.pawelczyk@samsung.com>
Fri, 24 Apr 2020 16:41:40 +0000
(18:41 +0200)
committer
Lukasz Pawelczyk
<l.pawelczyk@samsung.com>
Fri, 26 Jun 2020 15:36:20 +0000
(17:36 +0200)
Change-Id: I9441cb0e3f9753ad04e59a8e6673839dbc23718f
src/key.c
patch
|
blob
|
history
diff --git
a/src/key.c
b/src/key.c
index c37f8260be28b79f472dc55927423df592bf138a..af701e499b9eedff1778ea2a90c0047c6e3c34f1 100644
(file)
--- a/
src/key.c
+++ b/
src/key.c
@@
-1805,7
+1805,7
@@
API int yaca_key_derive_dh(const yaca_key_h prv_key,
}
if (data_len == 0 || data_len > SIZE_MAX / 8) {
- ret = YACA_ERROR_IN
VALID_PARAMETER
;
+ ret = YACA_ERROR_IN
TERNAL
;
goto exit;
}