src: Minor corrections and improvements
Change-Id: If1041d13b7c469e64e3523297438067baf96b1d6
diff --git a/src/security/sec-tpm-osx.cpp b/src/security/sec-tpm-osx.cpp
index aa3347b..a5a7159 100644
--- a/src/security/sec-tpm-osx.cpp
+++ b/src/security/sec-tpm-osx.cpp
@@ -185,7 +185,7 @@
* @param keyType
* @returns MAC OS key type
*/
- const CFTypeRef
+ CFTypeRef
getSymKeyType(KeyType keyType);
/**
@@ -194,7 +194,7 @@
* @param keyType
* @returns MAC OS key type
*/
- const CFTypeRef
+ CFTypeRef
getAsymKeyType(KeyType keyType);
/**
@@ -203,7 +203,7 @@
* @param keyClass
* @returns MAC OS key class
*/
- const CFTypeRef
+ CFTypeRef
getKeyClass(KeyClass keyClass);
/**
@@ -212,7 +212,7 @@
* @param digestAlgo
* @returns MAC OS algorithm id
*/
- const CFStringRef
+ CFStringRef
getDigestAlgorithm(DigestAlgorithm digestAlgo);
/**
@@ -1010,7 +1010,7 @@
return keyUri;
}
-const CFTypeRef
+CFTypeRef
SecTpmOsx::Impl::getAsymKeyType(KeyType keyType)
{
switch (keyType){
@@ -1021,7 +1021,7 @@
}
}
-const CFTypeRef
+CFTypeRef
SecTpmOsx::Impl::getSymKeyType(KeyType keyType)
{
switch (keyType){
@@ -1032,7 +1032,7 @@
}
}
-const CFTypeRef
+CFTypeRef
SecTpmOsx::Impl::getKeyClass(KeyClass keyClass)
{
switch (keyClass){
@@ -1047,7 +1047,7 @@
}
}
-const CFStringRef
+CFStringRef
SecTpmOsx::Impl::getDigestAlgorithm(DigestAlgorithm digestAlgo)
{
switch (digestAlgo){