summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2011-05-16 05:29:39 +0100
committerRichard Lowe <richlowe@richlowe.net>2011-07-02 22:18:01 -0400
commit4e55aa9def0ced1b60811a2c27cdffe5a7f73d47 (patch)
tree4385842ff18963348ef1db65a4276379a60e4948 /usr/src
parent99ca60379fe562da9431c6c0e75c93776936d04c (diff)
downloadillumos-joyent-4e55aa9def0ced1b60811a2c27cdffe5a7f73d47.tar.gz
libkmsagent: Avoid deprecated string constant conversion
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/libkmsagent/common/KMSAgent.cpp17
1 files changed, 11 insertions, 6 deletions
diff --git a/usr/src/lib/libkmsagent/common/KMSAgent.cpp b/usr/src/lib/libkmsagent/common/KMSAgent.cpp
index 3d34ea571f..bb95e737c6 100644
--- a/usr/src/lib/libkmsagent/common/KMSAgent.cpp
+++ b/usr/src/lib/libkmsagent/common/KMSAgent.cpp
@@ -1518,8 +1518,9 @@ KMS_AGENT_STATUS KMSAgent_CreateKey (
CAutoMutex oAutoMutex((K_MUTEX_HANDLE) i_pProfile->m_pLock);
struct KMS_Agent::KMS_Agent__DataUnit
- stDataUnit = {"", "", "", "",
- (KMS_Agent::KMS_Agent__DataUnitState) 0};
+ stDataUnit = {(char *)"", (char *)"", (char *)"",
+ (char *)"",
+ (KMS_Agent::KMS_Agent__DataUnitState) 0};
struct soap *pstSoap = (struct soap *) i_pProfile->m_pvSoap;
struct KMS_Agent::KMS_Agent__CreateKeyResponse oResponse;
@@ -2120,7 +2121,8 @@ KMS_AGENT_STATUS KMSAgent_DisassociateDataUnitKeys (
CAutoMutex oAutoMutex((K_MUTEX_HANDLE) i_pProfile->m_pLock);
- struct KMS_Agent::KMS_Agent__DataUnit stDataUnit = {"", "", "", "",
+ struct KMS_Agent::KMS_Agent__DataUnit stDataUnit = {(char *)"",
+ (char *)"", (char *)"", (char *)"",
(KMS_Agent::KMS_Agent__DataUnitState) 0};
struct soap *pstSoap = (struct soap *) i_pProfile->m_pvSoap;
@@ -2262,7 +2264,8 @@ KMS_AGENT_STATUS KMSAgent_RetrieveKey (
RETURN(KMS_AGENT_STATUS_INVALID_PARAMETER);
}
- struct KMS_Agent::KMS_Agent__DataUnit stDataUnit = {"", "", "", "",
+ struct KMS_Agent::KMS_Agent__DataUnit stDataUnit = {
+ (char *)"", (char *)"", (char *)"", (char *)"",
(KMS_Agent::KMS_Agent__DataUnitState) 0};
struct soap *pstSoap = (struct soap *) i_pProfile->m_pvSoap;
@@ -3146,7 +3149,8 @@ KMS_AGENT_STATUS KMSAgent_RetrieveDataUnitKeys (
// prepare args to soap transaction
- struct KMS_Agent::KMS_Agent__DataUnit stDataUnit = {"", "", "", "",
+ struct KMS_Agent::KMS_Agent__DataUnit stDataUnit = {
+ (char *)"", (char *)"", (char *)"", (char *)"",
(KMS_Agent::KMS_Agent__DataUnitState) 0};
struct soap *pstSoap = (struct soap *) i_pProfile->m_pvSoap;
@@ -3380,7 +3384,8 @@ KMS_AGENT_STATUS KMSAgent_RetrieveProtectAndProcessKey (
CAutoMutex oAutoMutex((K_MUTEX_HANDLE) i_pProfile->m_pLock);
- struct KMS_Agent::KMS_Agent__DataUnit stDataUnit ={"", "", "", "",
+ struct KMS_Agent::KMS_Agent__DataUnit stDataUnit = {
+ (char *)"", (char *)"", (char *)"", (char *)"",
(KMS_Agent::KMS_Agent__DataUnitState) 0};
struct soap *pstSoap = (struct soap *) i_pProfile->m_pvSoap;