- 108620: Unchecked return value
Change-Id: I6472033e399fa56ab2d836a3a95e1282de68e656
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
_scoped_x509_store_ctx(pstStoreCtx, X509_STORE_CTX_free);
//init
- X509_STORE_CTX_init(pstStoreCtx, pstStore, pstX509, untrustedCerts);
+ if(!X509_STORE_CTX_init(pstStoreCtx, pstStore, pstX509, untrustedCerts)) {
+ DRM_TAPPS_EXCEPTION("509_STORE_CTX_init error!");
+ return -1;
+ }
//Set Flag
X509_STORE_CTX_set_flags(pstStoreCtx, X509_V_FLAG_CB_ISSUER_CHECK);