diff options
author | djm <> | 2010-10-01 22:59:01 +0000 |
---|---|---|
committer | djm <> | 2010-10-01 22:59:01 +0000 |
commit | fe047d8b632246cb2db3234a0a4f32e5c318857b (patch) | |
tree | 939b752540947d33507b3acc48d76a8bfb7c3dc3 /src/lib/libcrypto/engine/eng_int.h | |
parent | 2ea67f4aa254b09ded62e6e14fc893bbe6381579 (diff) | |
download | openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.tar.gz openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.tar.bz2 openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.zip |
resolve conflicts, fix local changes
Diffstat (limited to 'src/lib/libcrypto/engine/eng_int.h')
-rw-r--r-- | src/lib/libcrypto/engine/eng_int.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/libcrypto/engine/eng_int.h b/src/lib/libcrypto/engine/eng_int.h index a66f107a44..451ef8feb8 100644 --- a/src/lib/libcrypto/engine/eng_int.h +++ b/src/lib/libcrypto/engine/eng_int.h | |||
@@ -127,6 +127,8 @@ ENGINE *engine_table_select(ENGINE_TABLE **table, int nid); | |||
127 | ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, const char *f, int l); | 127 | ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, const char *f, int l); |
128 | #define engine_table_select(t,n) engine_table_select_tmp(t,n,__FILE__,__LINE__) | 128 | #define engine_table_select(t,n) engine_table_select_tmp(t,n,__FILE__,__LINE__) |
129 | #endif | 129 | #endif |
130 | typedef void (engine_table_doall_cb)(int nid, STACK_OF(ENGINE) *sk, ENGINE *def, void *arg); | ||
131 | void engine_table_doall(ENGINE_TABLE *table, engine_table_doall_cb *cb, void *arg); | ||
130 | 132 | ||
131 | /* Internal versions of API functions that have control over locking. These are | 133 | /* Internal versions of API functions that have control over locking. These are |
132 | * used between C files when functionality needs to be shared but the caller may | 134 | * used between C files when functionality needs to be shared but the caller may |
@@ -143,6 +145,11 @@ void engine_set_all_null(ENGINE *e); | |||
143 | /* NB: Bitwise OR-able values for the "flags" variable in ENGINE are now exposed | 145 | /* NB: Bitwise OR-able values for the "flags" variable in ENGINE are now exposed |
144 | * in engine.h. */ | 146 | * in engine.h. */ |
145 | 147 | ||
148 | /* Free up dynamically allocated public key methods associated with ENGINE */ | ||
149 | |||
150 | void engine_pkey_meths_free(ENGINE *e); | ||
151 | void engine_pkey_asn1_meths_free(ENGINE *e); | ||
152 | |||
146 | /* This is a structure for storing implementations of various crypto | 153 | /* This is a structure for storing implementations of various crypto |
147 | * algorithms and functions. */ | 154 | * algorithms and functions. */ |
148 | struct engine_st | 155 | struct engine_st |
@@ -160,7 +167,10 @@ struct engine_st | |||
160 | ENGINE_CIPHERS_PTR ciphers; | 167 | ENGINE_CIPHERS_PTR ciphers; |
161 | /* Digest handling is via this callback */ | 168 | /* Digest handling is via this callback */ |
162 | ENGINE_DIGESTS_PTR digests; | 169 | ENGINE_DIGESTS_PTR digests; |
163 | 170 | /* Public key handling via this callback */ | |
171 | ENGINE_PKEY_METHS_PTR pkey_meths; | ||
172 | /* ASN1 public key handling via this callback */ | ||
173 | ENGINE_PKEY_ASN1_METHS_PTR pkey_asn1_meths; | ||
164 | 174 | ||
165 | ENGINE_GEN_INT_FUNC_PTR destroy; | 175 | ENGINE_GEN_INT_FUNC_PTR destroy; |
166 | 176 | ||