Cleared "signed/unsigned" warning under GCC 4.8
parent
6f4e331cf0
commit
e6e1ce66f8
|
|
@ -112,7 +112,7 @@ bool SignatureValidate(PK_Signer &priv, PK_Verifier &pub, bool thorough = false)
|
|||
cout << "signature key validation\n";
|
||||
|
||||
static const byte message[] = "test message";
|
||||
const int messageLen = COUNTOF(message);
|
||||
const unsigned int messageLen = COUNTOF(message);
|
||||
|
||||
SecByteBlock signature(priv.MaxSignatureLength());
|
||||
size_t signatureLength = priv.SignMessage(GlobalRNG(), message, messageLen, signature);
|
||||
|
|
|
|||
Loading…
Reference in New Issue