aboutsummaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/imap/IMAPConnection.cpp4
-rw-r--r--src/net/pop3/POP3Store.cpp4
-rw-r--r--src/net/smtp/SMTPTransport.cpp4
-rw-r--r--src/net/tls/TLSSocket.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/src/net/imap/IMAPConnection.cpp b/src/net/imap/IMAPConnection.cpp
index 9683b009..7f13cf48 100644
--- a/src/net/imap/IMAPConnection.cpp
+++ b/src/net/imap/IMAPConnection.cpp
@@ -370,10 +370,10 @@ void IMAPConnection::authenticateSASL()
continue;
}
- byte* challenge = 0;
+ byte_t* challenge = 0;
int challengeLen = 0;
- byte* resp = 0;
+ byte_t* resp = 0;
int respLen = 0;
try
diff --git a/src/net/pop3/POP3Store.cpp b/src/net/pop3/POP3Store.cpp
index 24e5b9c3..ba4a5254 100644
--- a/src/net/pop3/POP3Store.cpp
+++ b/src/net/pop3/POP3Store.cpp
@@ -454,10 +454,10 @@ void POP3Store::authenticateSASL()
}
case RESPONSE_READY:
{
- byte* challenge = 0;
+ byte_t* challenge = 0;
int challengeLen = 0;
- byte* resp = 0;
+ byte_t* resp = 0;
int respLen = 0;
try
diff --git a/src/net/smtp/SMTPTransport.cpp b/src/net/smtp/SMTPTransport.cpp
index 4ce19716..1b634151 100644
--- a/src/net/smtp/SMTPTransport.cpp
+++ b/src/net/smtp/SMTPTransport.cpp
@@ -355,10 +355,10 @@ void SMTPTransport::authenticateSASL()
}
case 334:
{
- byte* challenge = 0;
+ byte_t* challenge = 0;
int challengeLen = 0;
- byte* resp = 0;
+ byte_t* resp = 0;
int respLen = 0;
try
diff --git a/src/net/tls/TLSSocket.cpp b/src/net/tls/TLSSocket.cpp
index 9dd8b625..b1896844 100644
--- a/src/net/tls/TLSSocket.cpp
+++ b/src/net/tls/TLSSocket.cpp
@@ -319,7 +319,7 @@ ref <security::cert::certificateChain> TLSSocket::getPeerCertificates() const
gnutls_x509_crt_export(x509Certs[i],
GNUTLS_X509_FMT_DER, NULL, &dataSize);
- byte* data = new byte[dataSize];
+ byte_t* data = new byte_t[dataSize];
gnutls_x509_crt_export(x509Certs[i],
GNUTLS_X509_FMT_DER, data, &dataSize);