]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
fix crypto openssl hmac warning
authorGilles Espinasse <g.esp@free.fr>
Thu, 9 May 2013 15:58:14 +0000 (11:58 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 9 May 2013 15:58:36 +0000 (11:58 -0400)
ticket: 7634

src/lib/crypto/openssl/hmac.c

index f92ce8b5c258b9cbed28c7f9e0f8517747125e5a..926790aec3e91667f939f54697db0af2b12b61a1 100644 (file)
@@ -105,7 +105,7 @@ krb5int_hmac_keyblock(const struct krb5_hash_provider *hash,
     HMAC_CTX_init(&c);
     HMAC_Init(&c, keyblock->contents, keyblock->length, map_digest(hash));
     for (i = 0; i < num_data; i++) {
-        krb5_crypto_iov *iov = &data[i];
+        const krb5_crypto_iov *iov = &data[i];
 
         if (SIGN_IOV(iov))
             HMAC_Update(&c, (unsigned char*) iov->data.data, iov->data.length);