diff options
author | Geoff Thorpe <geoff@openssl.org> | 2002-10-16 01:29:37 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2002-10-16 01:29:37 +0000 |
commit | 314c667050065bac7d1b0b1a767af6ff9585a596 (patch) | |
tree | 7b2793ea595b2c7b97eecb61fbf3fb3e40102acd /crypto/engine/engine.h | |
parent | 28c8a911bdb726fbfae14c7d5ed62d6bac5c1f09 (diff) |
- Remo Inverardi noticed that ENGINEs don't have an "up_ref" function in the
normal 'structural' case (ENGINE_init() satisfies this in the less normal
'functional' case). This change provides such a function.
- Correct some "read" locks that should actually be "write" locks.
- make update.
Diffstat (limited to 'crypto/engine/engine.h')
-rw-r--r-- | crypto/engine/engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/engine/engine.h b/crypto/engine/engine.h index 7bc5b4f490..0d35b0152d 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h @@ -433,6 +433,7 @@ int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, * compatibility! */ ENGINE *ENGINE_new(void); int ENGINE_free(ENGINE *e); +int ENGINE_up_ref(ENGINE *e); int ENGINE_set_id(ENGINE *e, const char *id); int ENGINE_set_name(ENGINE *e, const char *name); int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth); @@ -697,6 +698,7 @@ void ERR_load_ENGINE_strings(void); #define ENGINE_F_ENGINE_SET_NAME 130 #define ENGINE_F_ENGINE_TABLE_REGISTER 184 #define ENGINE_F_ENGINE_UNLOAD_KEY 152 +#define ENGINE_F_ENGINE_UP_REF 190 #define ENGINE_F_INT_CTRL_HELPER 172 #define ENGINE_F_INT_ENGINE_CONFIGURE 188 #define ENGINE_F_LOG_MESSAGE 141 |