projects
/
platform
/
core
/
security
/
drm-service-core-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1ab771
)
Fix coverity(WGID=1217571)
68/251168/3
accepted/tizen/unified/20210112.123529
submit/tizen/20210111.063908
author
Dongsun Lee
<ds73.lee@samsung.com>
Mon, 11 Jan 2021 01:55:00 +0000
(10:55 +0900)
committer
Dongsun Lee
<ds73.lee@samsung.com>
Mon, 11 Jan 2021 01:58:24 +0000
(10:58 +0900)
Change-Id: If3d8c257eaaafbeb1efddb5855162a42a9e33e1c
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
tadcore/TADCInterface/TADC_IF.cpp
patch
|
blob
|
history
diff --git
a/tadcore/TADCInterface/TADC_IF.cpp
b/tadcore/TADCInterface/TADC_IF.cpp
index
13a1617
..
6760bdc
100644
(file)
--- a/
tadcore/TADCInterface/TADC_IF.cpp
+++ b/
tadcore/TADCInterface/TADC_IF.cpp
@@
-326,7
+326,11
@@
int AddCertSTOREFromFile(X509_STORE *pstStore, const char *filePath)
goto error;
}
- X509_STORE_add_cert(pstStore, pstX509);
+ if (!X509_STORE_add_cert(pstStore, pstX509)) {
+ DRM_TAPPS_EXCEPTION("X509_STORE_add_cert error!");
+ ret = -1;
+ goto error;
+ }
error: