Loading crypto/engine/eng_init.c +2 −2 Original line number Diff line number Diff line Loading @@ -75,8 +75,8 @@ int engine_unlocked_init(ENGINE *e) */ e->struct_ref++; e->funct_ref++; engine_ref_debug(e, 0, 1) engine_ref_debug(e, 1, 1) engine_ref_debug(e, 0, 1); engine_ref_debug(e, 1, 1); } return to_return; } Loading crypto/engine/eng_int.h +1 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,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 Loading crypto/engine/eng_lib.c +2 −2 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ ENGINE *ENGINE_new(void) return NULL; } ret->struct_ref = 1; engine_ref_debug(ret, 0, 1) engine_ref_debug(ret, 0, 1); CRYPTO_new_ex_data(CRYPTO_EX_INDEX_ENGINE, ret, &ret->ex_data); return ret; } Loading crypto/engine/eng_list.c +8 −8 Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ static int engine_list_add(ENGINE *e) * Having the engine in the list assumes a structural reference. */ e->struct_ref++; engine_ref_debug(e, 0, 1) engine_ref_debug(e, 0, 1); /* However it came to be, e is the last item in the list. */ engine_list_tail = e; e->next = NULL; Loading Loading @@ -188,7 +188,7 @@ ENGINE *ENGINE_get_first(void) ret = engine_list_head; if (ret) { ret->struct_ref++; engine_ref_debug(ret, 0, 1) engine_ref_debug(ret, 0, 1); } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); return ret; Loading @@ -202,7 +202,7 @@ ENGINE *ENGINE_get_last(void) ret = engine_list_tail; if (ret) { ret->struct_ref++; engine_ref_debug(ret, 0, 1) engine_ref_debug(ret, 0, 1); } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); return ret; Loading @@ -221,7 +221,7 @@ ENGINE *ENGINE_get_next(ENGINE *e) if (ret) { /* Return a valid structural refernce to the next ENGINE */ ret->struct_ref++; engine_ref_debug(ret, 0, 1) engine_ref_debug(ret, 0, 1); } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); /* Release the structural reference to the previous ENGINE */ Loading @@ -241,7 +241,7 @@ ENGINE *ENGINE_get_prev(ENGINE *e) if (ret) { /* Return a valid structural reference to the next ENGINE */ ret->struct_ref++; engine_ref_debug(ret, 0, 1) engine_ref_debug(ret, 0, 1); } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); /* Release the structural reference to the previous ENGINE */ Loading Loading @@ -346,7 +346,7 @@ ENGINE *ENGINE_by_id(const char *id) } } else { iterator->struct_ref++; engine_ref_debug(iterator, 0, 1) engine_ref_debug(iterator, 0, 1); } } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); Loading crypto/engine/tb_asnmth.c +1 −1 Original line number Diff line number Diff line Loading @@ -238,7 +238,7 @@ const EVP_PKEY_ASN1_METHOD *ENGINE_pkey_asn1_find_str(ENGINE **pe, /* If found obtain a structural reference to engine */ if (fstr.e) { fstr.e->struct_ref++; engine_ref_debug(fstr.e, 0, 1) engine_ref_debug(fstr.e, 0, 1); } *pe = fstr.e; CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); Loading Loading
crypto/engine/eng_init.c +2 −2 Original line number Diff line number Diff line Loading @@ -75,8 +75,8 @@ int engine_unlocked_init(ENGINE *e) */ e->struct_ref++; e->funct_ref++; engine_ref_debug(e, 0, 1) engine_ref_debug(e, 1, 1) engine_ref_debug(e, 0, 1); engine_ref_debug(e, 1, 1); } return to_return; } Loading
crypto/engine/eng_int.h +1 −1 Original line number Diff line number Diff line Loading @@ -87,7 +87,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 Loading
crypto/engine/eng_lib.c +2 −2 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ ENGINE *ENGINE_new(void) return NULL; } ret->struct_ref = 1; engine_ref_debug(ret, 0, 1) engine_ref_debug(ret, 0, 1); CRYPTO_new_ex_data(CRYPTO_EX_INDEX_ENGINE, ret, &ret->ex_data); return ret; } Loading
crypto/engine/eng_list.c +8 −8 Original line number Diff line number Diff line Loading @@ -141,7 +141,7 @@ static int engine_list_add(ENGINE *e) * Having the engine in the list assumes a structural reference. */ e->struct_ref++; engine_ref_debug(e, 0, 1) engine_ref_debug(e, 0, 1); /* However it came to be, e is the last item in the list. */ engine_list_tail = e; e->next = NULL; Loading Loading @@ -188,7 +188,7 @@ ENGINE *ENGINE_get_first(void) ret = engine_list_head; if (ret) { ret->struct_ref++; engine_ref_debug(ret, 0, 1) engine_ref_debug(ret, 0, 1); } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); return ret; Loading @@ -202,7 +202,7 @@ ENGINE *ENGINE_get_last(void) ret = engine_list_tail; if (ret) { ret->struct_ref++; engine_ref_debug(ret, 0, 1) engine_ref_debug(ret, 0, 1); } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); return ret; Loading @@ -221,7 +221,7 @@ ENGINE *ENGINE_get_next(ENGINE *e) if (ret) { /* Return a valid structural refernce to the next ENGINE */ ret->struct_ref++; engine_ref_debug(ret, 0, 1) engine_ref_debug(ret, 0, 1); } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); /* Release the structural reference to the previous ENGINE */ Loading @@ -241,7 +241,7 @@ ENGINE *ENGINE_get_prev(ENGINE *e) if (ret) { /* Return a valid structural reference to the next ENGINE */ ret->struct_ref++; engine_ref_debug(ret, 0, 1) engine_ref_debug(ret, 0, 1); } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); /* Release the structural reference to the previous ENGINE */ Loading Loading @@ -346,7 +346,7 @@ ENGINE *ENGINE_by_id(const char *id) } } else { iterator->struct_ref++; engine_ref_debug(iterator, 0, 1) engine_ref_debug(iterator, 0, 1); } } CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); Loading
crypto/engine/tb_asnmth.c +1 −1 Original line number Diff line number Diff line Loading @@ -238,7 +238,7 @@ const EVP_PKEY_ASN1_METHOD *ENGINE_pkey_asn1_find_str(ENGINE **pe, /* If found obtain a structural reference to engine */ if (fstr.e) { fstr.e->struct_ref++; engine_ref_debug(fstr.e, 0, 1) engine_ref_debug(fstr.e, 0, 1); } *pe = fstr.e; CRYPTO_w_unlock(CRYPTO_LOCK_ENGINE); Loading