summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc2/rc2.h
diff options
context:
space:
mode:
authortb <>2025-01-25 17:59:44 +0000
committertb <>2025-01-25 17:59:44 +0000
commit5482f7f31863bd209e2f594c751ead79f03aa62e (patch)
tree7454d675702b66e09c692528e45834a172db95ff /src/lib/libcrypto/rc2/rc2.h
parent538936a6c977803d4e15c8449c956ab3c5d69d86 (diff)
downloadopenbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.tar.gz
openbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.tar.bz2
openbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.zip
Remove #error if OPENSSL_NO_FOO is defined
discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/rc2/rc2.h')
-rw-r--r--src/lib/libcrypto/rc2/rc2.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/rc2/rc2.h b/src/lib/libcrypto/rc2/rc2.h
index 09c6c08a51..96e395f32d 100644
--- a/src/lib/libcrypto/rc2/rc2.h
+++ b/src/lib/libcrypto/rc2/rc2.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rc2.h,v 1.12 2023/07/07 08:29:37 beck Exp $ */ 1/* $OpenBSD: rc2.h,v 1.13 2025/01/25 17:59:44 tb Exp $ */
2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -61,10 +61,6 @@
61 61
62#include <openssl/opensslconf.h> /* OPENSSL_NO_RC2, RC2_INT */ 62#include <openssl/opensslconf.h> /* OPENSSL_NO_RC2, RC2_INT */
63 63
64#ifdef OPENSSL_NO_RC2
65#error RC2 is disabled.
66#endif
67
68#define RC2_ENCRYPT 1 64#define RC2_ENCRYPT 1
69#define RC2_DECRYPT 0 65#define RC2_DECRYPT 0
70 66