diff options
author | Vincent Richard <[email protected]> | 2006-04-18 19:04:30 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2006-04-18 19:04:30 +0000 |
commit | 3bbffc18de859c02130f135293e90a280101b79f (patch) | |
tree | f7264d66f60e184212306ff701d6939648bfac3b /src/security/cert/X509Certificate.cpp | |
parent | Clean up. (diff) | |
download | vmime-3bbffc18de859c02130f135293e90a280101b79f.tar.gz vmime-3bbffc18de859c02130f135293e90a280101b79f.zip |
Renamed 'byte' to 'byte_t'.
Diffstat (limited to 'src/security/cert/X509Certificate.cpp')
-rw-r--r-- | src/security/cert/X509Certificate.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/security/cert/X509Certificate.cpp b/src/security/cert/X509Certificate.cpp index 2575ba5d..65de1093 100644 --- a/src/security/cert/X509Certificate.cpp +++ b/src/security/cert/X509Certificate.cpp @@ -92,12 +92,12 @@ ref <X509Certificate> X509Certificate::import(utility::inputStream& is) // static ref <X509Certificate> X509Certificate::import - (const byte* data, const unsigned int length) + (const byte_t* data, const unsigned int length) { ref <X509Certificate> cert = vmime::create <X509Certificate>(); gnutls_datum buffer; - buffer.data = const_cast <byte*>(data); + buffer.data = const_cast <byte_t*>(data); buffer.size = length; // Try DER format @@ -126,7 +126,7 @@ void X509Certificate::write gnutls_x509_crt_export(m_data->cert, fmt, NULL, &dataSize); - byte* data = new byte[dataSize]; + byte_t* data = new byte_t[dataSize]; gnutls_x509_crt_export(m_data->cert, fmt, data, &dataSize); @@ -210,7 +210,7 @@ const byteArray X509Certificate::getFingerprint(const DigestAlgorithm algo) cons gnutls_x509_crt_get_fingerprint (m_data->cert, galgo, NULL, &bufferSize); - byte* buffer = new byte[bufferSize]; + byte_t* buffer = new byte_t[bufferSize]; if (gnutls_x509_crt_get_fingerprint (m_data->cert, galgo, buffer, &bufferSize) == 0) |