From: jsing Date: Sat, 31 Aug 2024 16:22:18 +0000 (+0000) Subject: Make fcrypt_body() static and remove prototype. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=48d3e433699451279531836f5a1bf8360c7a77be;p=openbsd Make fcrypt_body() static and remove prototype. --- diff --git a/lib/libcrypto/des/des_fcrypt.c b/lib/libcrypto/des/des_fcrypt.c index 049040b1843..b33b1240c23 100644 --- a/lib/libcrypto/des/des_fcrypt.c +++ b/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/lib/libcrypto/des/des_local.h b/lib/libcrypto/des/des_local.h index 9a0d3660286..61bfde7520b 100644 --- a/lib/libcrypto/des/des_local.h +++ b/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