aboutsummaryrefslogtreecommitdiffstats
path: root/src/security/sasl/SASLContext.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2006-04-18 19:04:30 +0000
committerVincent Richard <[email protected]>2006-04-18 19:04:30 +0000
commit3bbffc18de859c02130f135293e90a280101b79f (patch)
treef7264d66f60e184212306ff701d6939648bfac3b /src/security/sasl/SASLContext.cpp
parentClean up. (diff)
downloadvmime-3bbffc18de859c02130f135293e90a280101b79f.tar.gz
vmime-3bbffc18de859c02130f135293e90a280101b79f.zip
Renamed 'byte' to 'byte_t'.
Diffstat (limited to 'src/security/sasl/SASLContext.cpp')
-rw-r--r--src/security/sasl/SASLContext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/security/sasl/SASLContext.cpp b/src/security/sasl/SASLContext.cpp
index cf7d94f6..a4e25feb 100644
--- a/src/security/sasl/SASLContext.cpp
+++ b/src/security/sasl/SASLContext.cpp
@@ -96,7 +96,7 @@ ref <SASLMechanism> SASLContext::suggestMechanism
}
-void SASLContext::decodeB64(const string& input, byte** output, int* outputLen)
+void SASLContext::decodeB64(const string& input, byte_t** output, int* outputLen)
{
string res;
@@ -107,7 +107,7 @@ void SASLContext::decodeB64(const string& input, byte** output, int* outputLen)
dec->decode(is, os);
- byte* out = new byte[res.length()];
+ byte_t* out = new byte_t[res.length()];
std::copy(res.begin(), res.end(), out);
@@ -116,7 +116,7 @@ void SASLContext::decodeB64(const string& input, byte** output, int* outputLen)
}
-const string SASLContext::encodeB64(const byte* input, const int inputLen)
+const string SASLContext::encodeB64(const byte_t* input, const int inputLen)
{
string res;