Commit 1057c2c3 authored by Viktor Dukhovni's avatar Viktor Dukhovni
Browse files

Cleaner disposal of ephemeral engine ids and names



Engine names and ids are typically static strings.  If an application
actually dynamically allocated these, the application owns the
storage, and should dispose of it via the original handle, rather
than the "const char *" returned by the engine.

In any case, this resolves the test code issue without resort to
"unconst" macros/casts.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent 9b340281
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment