*
* // Deallocates all objects
* // Because the destructor calls RemoveAll() internally, you do not need to call RemoveAll() to destroy all elements at the end.
- * list.RemoveAll();
+ * // list.RemoveAll();
* }
* @endcode
*/
*
* // Deallocates all objects
* // Because the destructor calls RemoveAll() internally, you do not need to call RemoveAll() to destroy all elements at the end.
- * map.RemoveAll();
- *
+ * // map.RemoveAll();
* }
* @endcode
*/
*
* // Deallocates all objects
* // Because the destructor calls RemoveAll() internally, you do not need to call RemoveAll() to destroy all elements at the end.
- * list.RemoveAll();
+ * // list.RemoveAll();
* }
* @endcode
*/
*
* // Deallocates all objects
* // Because the destructor calls RemoveAll() internally, you do not need to call RemoveAll() to destroy all elements at the end.
- * map.RemoveAll();
+ * // map.RemoveAll();
* }
* @endcode
*/
*
* @param[in] certificateType The certificate type
*/
- virtual void SetType(const CertificateType certificateType) = 0;
+ virtual void SetType(CertificateType certificateType) = 0;
protected:
//
*
* @param[in] certificateType The certificate type
*/
- virtual void SetType(const CertificateType certificateType);
+ virtual void SetType(CertificateType certificateType);
private:
X509CertificateSelector(const X509CertificateSelector& rhs);
return E_SUCCESS;
CATCH:
- if (pMutex != null)
- {
- free(pMutex);
- }
-
+ free(pMutex);
return r;
}
{
char tz[PATH_MAX + 1];
int len = readlink("/opt/etc/localtime", tz, PATH_MAX);
+
+ SysTryReturn(NID_LCL, len > 0, TimeZone(-1, ""), E_SYSTEM, "It is failed to get System Time Zone");
tz[len] = '\0';
SysTryReturn(NID_LCL, len > 20, TimeZone(-1, ""), E_SYSTEM, "It is failed to get System Time Zone");