From 76ec570934ef171ad63231f6318874c7eadb44c3 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 31 Aug 2024 16:22:18 +0000 Subject: Make fcrypt_body() static and remove prototype. --- src/lib/libcrypto/des/des_fcrypt.c | 4 ++-- src/lib/libcrypto/des/des_local.h | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/des/des_fcrypt.c b/src/lib/libcrypto/des/des_fcrypt.c index 049040b184..b33b1240c2 100644 --- a/src/lib/libcrypto/des/des_fcrypt.c +++ b/src/lib/libcrypto/des/des_fcrypt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: des_fcrypt.c,v 1.3 2024/08/31 16:17:13 jsing Exp $ */ +/* $OpenBSD: des_fcrypt.c,v 1.4 2024/08/31 16:22:18 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -84,7 +84,7 @@ #define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)), \ (a)=(a)^(t)^(t>>(16-(n)))) \ -void +static void fcrypt_body(DES_LONG *out, DES_key_schedule *ks, DES_LONG Eswap0, DES_LONG Eswap1) { diff --git a/src/lib/libcrypto/des/des_local.h b/src/lib/libcrypto/des/des_local.h index 9a0d366028..61bfde7520 100644 --- a/src/lib/libcrypto/des/des_local.h +++ b/src/lib/libcrypto/des/des_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: des_local.h,v 1.4 2024/08/31 16:17:13 jsing Exp $ */ +/* $OpenBSD: des_local.h,v 1.5 2024/08/31 16:22:18 jsing Exp $ */ /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -217,9 +217,6 @@ ROTATE(uint32_t a, uint32_t n) extern const DES_LONG DES_SPtrans[8][64]; -void fcrypt_body(DES_LONG *out, DES_key_schedule *ks, - DES_LONG Eswap0, DES_LONG Eswap1); - #ifdef OPENSSL_SMALL_FOOTPRINT #undef DES_UNROLL #endif -- cgit v1.2.3-55-g6feb