| Index: crypto/p224_spake.cc
|
| diff --git a/crypto/p224_spake.cc b/crypto/p224_spake.cc
|
| index 343f3fc1748485b8e29b41178fcbcec71a1b36ab..a6dec40568a6dfc4ae028fb89fb7c0cf7e5b2ccc 100644
|
| --- a/crypto/p224_spake.cc
|
| +++ b/crypto/p224_spake.cc
|
| @@ -131,7 +131,7 @@ void P224EncryptedKeyExchange::Init() {
|
| next_message_ = Xstar.ToString();
|
| }
|
|
|
| -const std::string& P224EncryptedKeyExchange::GetMessage() {
|
| +const std::string& P224EncryptedKeyExchange::GetNextMessage() {
|
| if (state_ == kStateInitial) {
|
| state_ = kStateRecvDH;
|
| return next_message_;
|
| @@ -140,7 +140,7 @@ const std::string& P224EncryptedKeyExchange::GetMessage() {
|
| return next_message_;
|
| }
|
|
|
| - LOG(FATAL) << "P224EncryptedKeyExchange::GetMessage called in"
|
| + LOG(FATAL) << "P224EncryptedKeyExchange::GetNextMessage called in"
|
| " bad state " << state_;
|
| next_message_ = "";
|
| return next_message_;
|
|
|