Fix some misunderstandings in our providers' main modules
authorRichard Levitte <levitte@openssl.org>
Sat, 9 May 2020 08:11:14 +0000 (10:11 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 12 May 2020 09:32:40 +0000 (11:32 +0200)
commitfdaad3f1b31df6827554c378dd8385695a1deed4
treeb75f090aa64d03744896e9abd4d64240aec2cec8
parentb0f3c594083b22f082057719f7bb1aa575e7d5a1
Fix some misunderstandings in our providers' main modules

This started with adding forward declarations of all provider side
interface functions, and fixing all compiler errors.

Furthermore, diminish the faulty assumption that the provider context
is and always will be just a library context.  That means adding a
teardown function in all providers that aren't necessarily built into
libcrypto.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11777)
providers/build.info
providers/defltprov.c
providers/fips/fipsprov.c
providers/legacyprov.c