X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fengine%2Feng_int.h;h=9d58d93ecdab6f2f7a65176b1300e20495e5708a;hp=91160ded482daac69fdbdd171c3c5df1b517cfe5;hb=7b9f8f7f03eda2faa1cdd42ed29a0b70e60eaf59;hpb=28572b577c9a8fa41d85e1d2dce8afb2892464cd diff --git a/crypto/engine/eng_int.h b/crypto/engine/eng_int.h index 91160ded48..9d58d93ecd 100644 --- a/crypto/engine/eng_int.h +++ b/crypto/engine/eng_int.h @@ -1,4 +1,3 @@ -/* crypto/engine/eng_int.h */ /* * Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL project * 2000. @@ -66,8 +65,7 @@ # define HEADER_ENGINE_INT_H # include "internal/cryptlib.h" -/* Take public definitions from engine.h */ -# include +# include #ifdef __cplusplus extern "C" { @@ -88,7 +86,7 @@ extern "C" { (unsigned int)(e), (isfunct ? "funct" : "struct"), \ ((isfunct) ? ((e)->funct_ref - (diff)) : ((e)->struct_ref - (diff))), \ ((isfunct) ? (e)->funct_ref : (e)->struct_ref), \ - (__FILE__), (__LINE__)); + (__FILE__), (__LINE__)) # else @@ -106,12 +104,12 @@ typedef void (ENGINE_CLEANUP_CB) (void); typedef struct st_engine_cleanup_item { ENGINE_CLEANUP_CB *cb; } ENGINE_CLEANUP_ITEM; -DECLARE_STACK_OF(ENGINE_CLEANUP_ITEM) +DEFINE_STACK_OF(ENGINE_CLEANUP_ITEM) void engine_cleanup_add_first(ENGINE_CLEANUP_CB *cb); void engine_cleanup_add_last(ENGINE_CLEANUP_CB *cb); /* We need stacks of ENGINEs for use in eng_table.c */ -DECLARE_STACK_OF(ENGINE) +DEFINE_STACK_OF(ENGINE) /* * If this symbol is defined then engine_table_select(), the function that is @@ -179,9 +177,7 @@ struct engine_st { const RSA_METHOD *rsa_meth; const DSA_METHOD *dsa_meth; const DH_METHOD *dh_meth; - const ECDH_METHOD *ecdh_meth; - const ECDSA_METHOD *ecdsa_meth; - const EC_KEY_METHOD *ec_key_meth; + const EC_KEY_METHOD *ec_meth; const RAND_METHOD *rand_meth; const STORE_METHOD *store_meth; /* Cipher handling is via this callback */ @@ -218,6 +214,10 @@ struct engine_st { struct engine_st *next; }; +typedef struct st_engine_pile ENGINE_PILE; + +DEFINE_LHASH_OF(ENGINE_PILE); + #ifdef __cplusplus } #endif