]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost89.h
cppcheck: Variable is reassigned a value before the old one has been used.
[openssl-gost/engine.git] / gost89.h
index 9f36905e43903243f42b7a867118fa9470c4e568..569db5b059816eee5fa162fc74b6d0940c867913 100644 (file)
--- a/gost89.h
+++ b/gost89.h
@@ -78,7 +78,7 @@ int gost_mac(gost_ctx * ctx, int mac_len, const unsigned char *data,
  * Compute MAC of given length in bits from data, using non-zero 8-byte IV
  * (non-standard, for use in CryptoPro key transport only
  */
-int gost_mac_iv(gost_ctx * c, int mac_len, const unsigned char *iv,
+int gost_mac_iv(gost_ctx * ctx, int mac_len, const unsigned char *iv,
                 const unsigned char *data, unsigned int data_len,
                 unsigned char *mac);
 /* Perform one step of MAC calculation like gostcrypt */