diff options
author | tb <> | 2025-06-05 06:34:12 +0000 |
---|---|---|
committer | tb <> | 2025-06-05 06:34:12 +0000 |
commit | dfad566506315993510a26ab210aacfd44a545e3 (patch) | |
tree | 50bb76d08132f57d63bcb483e2c37abeed2e813d /src | |
parent | 7b3d97672dd2b2f9d84bbce61766b23bcc4306e9 (diff) | |
download | openbsd-dfad566506315993510a26ab210aacfd44a545e3.tar.gz openbsd-dfad566506315993510a26ab210aacfd44a545e3.tar.bz2 openbsd-dfad566506315993510a26ab210aacfd44a545e3.zip |
Remove preprocessor branching on HEADER_DES_H
This was the header guard for des_old.h introduced in 2002 and removed
in 2014. The header guard for des.h is HEADER_NEW_DES_H for the sake of
inconsistency (ostensibly due to backward compat concerns with libdes).
ok jsing
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/arch/aarch64/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/alpha/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/amd64/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/arm/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/hppa/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/i386/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/m88k/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/mips64/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/powerpc/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/powerpc64/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/riscv64/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/sh/opensslconf.h | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/sparc64/opensslconf.h | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/libcrypto/arch/aarch64/opensslconf.h b/src/lib/libcrypto/arch/aarch64/opensslconf.h index 9a01867ef5..ece2714d89 100644 --- a/src/lib/libcrypto/arch/aarch64/opensslconf.h +++ b/src/lib/libcrypto/arch/aarch64/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/alpha/opensslconf.h b/src/lib/libcrypto/arch/alpha/opensslconf.h index 6a8b3ca1e6..55f8340965 100644 --- a/src/lib/libcrypto/arch/alpha/opensslconf.h +++ b/src/lib/libcrypto/arch/alpha/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/amd64/opensslconf.h b/src/lib/libcrypto/arch/amd64/opensslconf.h index bf2c0860ec..eb8b812d84 100644 --- a/src/lib/libcrypto/arch/amd64/opensslconf.h +++ b/src/lib/libcrypto/arch/amd64/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/arm/opensslconf.h b/src/lib/libcrypto/arch/arm/opensslconf.h index a081a45dd7..958c01246b 100644 --- a/src/lib/libcrypto/arch/arm/opensslconf.h +++ b/src/lib/libcrypto/arch/arm/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/hppa/opensslconf.h b/src/lib/libcrypto/arch/hppa/opensslconf.h index a081a45dd7..958c01246b 100644 --- a/src/lib/libcrypto/arch/hppa/opensslconf.h +++ b/src/lib/libcrypto/arch/hppa/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/i386/opensslconf.h b/src/lib/libcrypto/arch/i386/opensslconf.h index d381ebab26..1be9e6e229 100644 --- a/src/lib/libcrypto/arch/i386/opensslconf.h +++ b/src/lib/libcrypto/arch/i386/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/m88k/opensslconf.h b/src/lib/libcrypto/arch/m88k/opensslconf.h index a081a45dd7..958c01246b 100644 --- a/src/lib/libcrypto/arch/m88k/opensslconf.h +++ b/src/lib/libcrypto/arch/m88k/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/mips64/opensslconf.h b/src/lib/libcrypto/arch/mips64/opensslconf.h index b5d699f366..9ec1eef5f2 100644 --- a/src/lib/libcrypto/arch/mips64/opensslconf.h +++ b/src/lib/libcrypto/arch/mips64/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/powerpc/opensslconf.h b/src/lib/libcrypto/arch/powerpc/opensslconf.h index a081a45dd7..958c01246b 100644 --- a/src/lib/libcrypto/arch/powerpc/opensslconf.h +++ b/src/lib/libcrypto/arch/powerpc/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/powerpc64/opensslconf.h b/src/lib/libcrypto/arch/powerpc64/opensslconf.h index bf2c0860ec..eb8b812d84 100644 --- a/src/lib/libcrypto/arch/powerpc64/opensslconf.h +++ b/src/lib/libcrypto/arch/powerpc64/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/riscv64/opensslconf.h b/src/lib/libcrypto/arch/riscv64/opensslconf.h index 9a01867ef5..ece2714d89 100644 --- a/src/lib/libcrypto/arch/riscv64/opensslconf.h +++ b/src/lib/libcrypto/arch/riscv64/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/sh/opensslconf.h b/src/lib/libcrypto/arch/sh/opensslconf.h index a081a45dd7..958c01246b 100644 --- a/src/lib/libcrypto/arch/sh/opensslconf.h +++ b/src/lib/libcrypto/arch/sh/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |
diff --git a/src/lib/libcrypto/arch/sparc64/opensslconf.h b/src/lib/libcrypto/arch/sparc64/opensslconf.h index b5d699f366..9ec1eef5f2 100644 --- a/src/lib/libcrypto/arch/sparc64/opensslconf.h +++ b/src/lib/libcrypto/arch/sparc64/opensslconf.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #endif | 46 | #endif |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | 49 | #if defined(HEADER_NEW_DES_H) && !defined(DES_LONG) |
50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
52 | #ifndef DES_LONG | 52 | #ifndef DES_LONG |