vcpkg/ports/krb5/define-des-zeroblock.diff
Kai Pastor 07dda21ef3
[krb5] More fixes (#39063)
- Fix export of static link libs
- Fix uncontrolled dependencies
- Fix build with Apple CLang 14.0.0 (and maybe other compilers)
- Don't remove plugins for dynamic linkage.
2024-06-03 22:52:41 -07:00

14 lines
439 B
Diff

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,