Bug 835692: Convert TransportLayerDtls::kMaxDigestLength to be a size_t, since that's how it's used & what it's compared to. r=ekr

This commit is contained in:
Daniel Holbert 2013-01-29 09:01:10 -08:00
parent 7fe04cc307
commit dc9fba6cb1

View File

@ -59,7 +59,7 @@ class TransportLayerDtls : public TransportLayer {
enum Role { CLIENT, SERVER};
enum Verification { VERIFY_UNSET, VERIFY_ALLOW_ALL, VERIFY_DIGEST};
const static int kMaxDigestLength = HASH_LENGTH_MAX;
const static size_t kMaxDigestLength = HASH_LENGTH_MAX;
// DTLS-specific operations
void SetRole(Role role) { role_ = role;}