When the "dynamic" ENGINE loads another ENGINE from a shared-library, it
authorGeoff Thorpe <geoff@openssl.org>
Thu, 22 Nov 2001 09:13:18 +0000 (09:13 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Thu, 22 Nov 2001 09:13:18 +0000 (09:13 +0000)
commite4a6cf421a57cd59ad6944151fea07af51e5e0ed
treebb69ebe5d3d9de833b672360731483d7fcc3f64c
parent329636d6e30c15f71bbf46d7f69a6ab6c3fb4726
When the "dynamic" ENGINE loads another ENGINE from a shared-library, it
essentially overwrites itself with the new ENGINE, with the exception of
reference counts, ex_data structures, and other 'admin' elements. However
if the new ENGINE doesn't populate certain elements, there's the risk of
the "dynamic" ENGINE's elements showing through - the "cmd_defns" were just
one of the possibilities. This implements a more comprehensive cleanup.
crypto/engine/eng_dyn.c
crypto/engine/eng_int.h
crypto/engine/eng_lib.c