diff options
Diffstat (limited to 'src/lib/libcrypto/modes/ofb128.c')
-rw-r--r-- | src/lib/libcrypto/modes/ofb128.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/modes/ofb128.c b/src/lib/libcrypto/modes/ofb128.c index 3f5a6ce110..8440e7f583 100644 --- a/src/lib/libcrypto/modes/ofb128.c +++ b/src/lib/libcrypto/modes/ofb128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ofb128.c,v 1.9 2025/04/21 16:01:18 jsing Exp $ */ | 1 | /* $OpenBSD: ofb128.c,v 1.10 2025/04/23 10:09:08 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2008 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -70,7 +70,6 @@ CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out, | |||
70 | 70 | ||
71 | n = *num; | 71 | n = *num; |
72 | 72 | ||
73 | #if !defined(OPENSSL_SMALL_FOOTPRINT) | ||
74 | if (16 % sizeof(size_t) == 0) | 73 | if (16 % sizeof(size_t) == 0) |
75 | do { /* always true actually */ | 74 | do { /* always true actually */ |
76 | while (n && len) { | 75 | while (n && len) { |
@@ -105,7 +104,6 @@ CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out, | |||
105 | return; | 104 | return; |
106 | } while (0); | 105 | } while (0); |
107 | /* the rest would be commonly eliminated by x86* compiler */ | 106 | /* the rest would be commonly eliminated by x86* compiler */ |
108 | #endif | ||
109 | while (l < len) { | 107 | while (l < len) { |
110 | if (n == 0) { | 108 | if (n == 0) { |
111 | (*block)(ivec, ivec, key); | 109 | (*block)(ivec, ivec, key); |