CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2025/06/09 08:37:49
Modified files: lib/libcrypto : crypto_local.h lib/libcrypto/arch/aarch64: opensslconf.h lib/libcrypto/arch/alpha: opensslconf.h lib/libcrypto/arch/amd64: opensslconf.h lib/libcrypto/arch/arm: opensslconf.h lib/libcrypto/arch/hppa: opensslconf.h lib/libcrypto/arch/i386: opensslconf.h lib/libcrypto/arch/m88k: opensslconf.h lib/libcrypto/arch/mips64: opensslconf.h lib/libcrypto/arch/powerpc: opensslconf.h lib/libcrypto/arch/powerpc64: opensslconf.h lib/libcrypto/arch/riscv64: opensslconf.h lib/libcrypto/arch/sh: opensslconf.h lib/libcrypto/arch/sparc64: opensslconf.h lib/libcrypto/des: des.h lib/libcrypto/idea: idea.h lib/libcrypto/rc2: rc2.h lib/libcrypto/rc4: rc4.h Log message: Move (mostly) MI constants to proper headers Most of the constants here are only defined if a specific header is in scope. So move the machine-independent macros to those headers and lose the header guards. Most of these should actually be typedefs but let's change this when we're bumping the major since this technically has ABI impact. IDEA_INT RC2_INT and RC4_INT are always unsigned int DES_LONG is always unsigned int except on i386 This preserves the existing situation on OpenBSD. If you're using portable on i386 with a compiler that does not define __i386__, there's an ABI break. ok jsing