diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-08-28 10:05:13 -0700 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2020-09-10 11:02:23 +0100 |
commit | 7b5dbfb777ff4894ebcd71f5014d26abeef916c6 (patch) | |
tree | 1c10980f76d78c11df6c4eaccd1ec124c41e1814 /include/crypto/cipher.h | |
parent | 954721ffa8c755ecd8552525b2a2f47da6c9d9f3 (diff) | |
download | qemu-7b5dbfb777ff4894ebcd71f5014d26abeef916c6.zip qemu-7b5dbfb777ff4894ebcd71f5014d26abeef916c6.tar.gz qemu-7b5dbfb777ff4894ebcd71f5014d26abeef916c6.tar.bz2 |
crypto: Use the correct const type for driver
This allows the in memory structures to be read-only.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include/crypto/cipher.h')
-rw-r--r-- | include/crypto/cipher.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/cipher.h b/include/crypto/cipher.h index 8a42a68..cc57179 100644 --- a/include/crypto/cipher.h +++ b/include/crypto/cipher.h @@ -81,7 +81,7 @@ struct QCryptoCipher { QCryptoCipherAlgorithm alg; QCryptoCipherMode mode; void *opaque; - void *driver; + const QCryptoCipherDriver *driver; }; /** |