From 273e048d695a49faad75ca2ffa6e445353142be8 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Wed, 23 Apr 2025 10:09:08 +0000 Subject: Unifdef OPENSSL_SMALL_FOOTPRINT. We do not build with OPENSSL_SMALL_FOOTPRINT and it removes more untested code paths. Request by tb@ (and it was already on my TODO list!) --- src/lib/libcrypto/modes/ofb128.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libcrypto/modes/ofb128.c') 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 @@ -/* $OpenBSD: ofb128.c,v 1.9 2025/04/21 16:01:18 jsing Exp $ */ +/* $OpenBSD: ofb128.c,v 1.10 2025/04/23 10:09:08 jsing Exp $ */ /* ==================================================================== * Copyright (c) 2008 The OpenSSL Project. All rights reserved. * @@ -70,7 +70,6 @@ CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out, n = *num; -#if !defined(OPENSSL_SMALL_FOOTPRINT) if (16 % sizeof(size_t) == 0) do { /* always true actually */ while (n && len) { @@ -105,7 +104,6 @@ CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out, return; } while (0); /* the rest would be commonly eliminated by x86* compiler */ -#endif while (l < len) { if (n == 0) { (*block)(ivec, ivec, key); -- cgit v1.2.3-55-g6feb