diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-03-02 10:22:08 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-03-02 10:22:08 +0000 |
commit | 40c9386a2fceefbc89de9eb3f5ddcf6c1130d8d4 (patch) | |
tree | 42b79cf8b26ca40b6114712e7682e4d4c18b0d5d | |
parent | c0d4c376f19309f7d765b0f9e598d61b3762e85a (diff) |
Simplify engine.h
Garbage collect some more of this former horror show.
ok jsing
-rw-r--r-- | lib/libcrypto/engine/engine.h | 46 |
1 files changed, 1 insertions, 45 deletions
diff --git a/lib/libcrypto/engine/engine.h b/lib/libcrypto/engine/engine.h index bb5112a02b0..20398f8d7fc 100644 --- a/lib/libcrypto/engine/engine.h +++ b/lib/libcrypto/engine/engine.h @@ -1,4 +1,4 @@ -/* $OpenBSD: engine.h,v 1.43 2023/11/19 15:41:46 tb Exp $ */ +/* $OpenBSD: engine.h,v 1.44 2024/03/02 10:22:07 tb Exp $ */ /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL * project 2000. */ @@ -66,22 +66,8 @@ #include <openssl/opensslconf.h> -#include <openssl/bn.h> -#ifndef OPENSSL_NO_DH -#include <openssl/dh.h> -#endif -#ifndef OPENSSL_NO_DSA -#include <openssl/dsa.h> -#endif -#ifndef OPENSSL_NO_EC -#include <openssl/ec.h> -#endif #include <openssl/err.h> -#ifndef OPENSSL_NO_RSA -#include <openssl/rsa.h> -#endif #include <openssl/ui.h> -#include <openssl/x509.h> #include <openssl/ossl_typ.h> @@ -102,36 +88,6 @@ extern "C" { #define ENGINE_METHOD_ALL (unsigned int)0xFFFF #define ENGINE_METHOD_NONE (unsigned int)0x0000 -#define ENGINE_TABLE_FLAG_NOINIT (unsigned int)0x0001 - -#define ENGINE_FLAGS_MANUAL_CMD_CTRL (int)0x0002 -#define ENGINE_FLAGS_BY_ID_COPY (int)0x0004 -#define ENGINE_FLAGS_NO_REGISTER_ALL (int)0x0008 -#define ENGINE_CMD_FLAG_NUMERIC (unsigned int)0x0001 -#define ENGINE_CMD_FLAG_STRING (unsigned int)0x0002 -#define ENGINE_CMD_FLAG_NO_INPUT (unsigned int)0x0004 -#define ENGINE_CMD_FLAG_INTERNAL (unsigned int)0x0008 - -#define ENGINE_CTRL_SET_LOGSTREAM 1 -#define ENGINE_CTRL_SET_PASSWORD_CALLBACK 2 -#define ENGINE_CTRL_HUP 3 -#define ENGINE_CTRL_SET_USER_INTERFACE 4 -#define ENGINE_CTRL_SET_CALLBACK_DATA 5 -#define ENGINE_CTRL_LOAD_CONFIGURATION 6 -#define ENGINE_CTRL_LOAD_SECTION 7 - -#define ENGINE_CTRL_HAS_CTRL_FUNCTION 10 -#define ENGINE_CTRL_GET_FIRST_CMD_TYPE 11 -#define ENGINE_CTRL_GET_NEXT_CMD_TYPE 12 -#define ENGINE_CTRL_GET_CMD_FROM_NAME 13 -#define ENGINE_CTRL_GET_NAME_LEN_FROM_CMD 14 -#define ENGINE_CTRL_GET_NAME_FROM_CMD 15 -#define ENGINE_CTRL_GET_DESC_LEN_FROM_CMD 16 -#define ENGINE_CTRL_GET_DESC_FROM_CMD 17 -#define ENGINE_CTRL_GET_CMD_FLAGS 18 - -#define ENGINE_CMD_BASE 200 - /* * Prototypes for the stub functions in engine_stubs.c. They are provided to * build M2Crypto, Dovecot, apr-utils without patching. |