vcpkg/ports/krb5/define-des-zeroblock.diff

14 lines
439 B
Diff
Raw Normal View History

diff --git a/src/lib/crypto/builtin/des/f_aead.c b/src/lib/crypto/builtin/des/f_aead.c
index f887735..26a5474 100644
--- a/src/lib/crypto/builtin/des/f_aead.c
+++ b/src/lib/crypto/builtin/des/f_aead.c
@@ -28,7 +28,7 @@
#ifdef K5_BUILTIN_DES
-const mit_des_cblock mit_des_zeroblock /* = all zero */;
+const mit_des_cblock mit_des_zeroblock = { 0, 0, 0 };
void
krb5int_des_cbc_encrypt(krb5_crypto_iov *data, unsigned long num_data,