X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fengine%2Feng_init.c;h=7633cf5f1d0933393f9a33bdb9d5bf7c3a4e4590;hb=cab6de03a2b721c89baffde254a4d3482f93c524;hp=170c1791b30537766f764dceae13d6c163912b45;hpb=b3823ac64b4e0582d6b5bc81804b809e86753d3a;p=oweals%2Fopenssl.git diff --git a/crypto/engine/eng_init.c b/crypto/engine/eng_init.c index 170c1791b3..7633cf5f1d 100644 --- a/crypto/engine/eng_init.c +++ b/crypto/engine/eng_init.c @@ -53,10 +53,7 @@ * */ -#include -#include "cryptlib.h" #include "eng_int.h" -#include /* Initialise a engine type for use (or up its functional reference count * if it's already in use). This version is only used internally. */ @@ -114,7 +111,7 @@ int engine_unlocked_finish(ENGINE *e, int unlock_for_handlers) /* Release the structural reference too */ if(!engine_free_util(e, 0)) { - ENGINEerr(ENGINE_F_ENGINE_FINISH,ENGINE_R_FINISH_FAILED); + ENGINEerr(ENGINE_F_ENGINE_UNLOCKED_FINISH,ENGINE_R_FINISH_FAILED); return 0; } return to_return;