bcrypt: Ensure unixlib function tables and enum stay in sync.

This commit is contained in:
Brendan Shanks 2023-08-30 12:48:43 -07:00 committed by Alexandre Julliard
parent 9492913dee
commit 2fd33f6ce1
2 changed files with 5 additions and 0 deletions

View file

@ -319,6 +319,7 @@ enum key_funcs
unix_key_asymmetric_destroy,
unix_key_asymmetric_export,
unix_key_asymmetric_import,
unix_funcs_count,
};
#endif /* __BCRYPT_INTERNAL_H */

View file

@ -2271,6 +2271,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
key_asymmetric_import
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64
typedef ULONG PTR32;
@ -2752,6 +2754,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_key_asymmetric_import
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */
#endif /* HAVE_GNUTLS_CIPHER_INIT */