File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 1919 */
2020
2121#include "unit.h"
22+ #include <wolfprovider/wp_fips.h>
2223#include <wolfssl/wolfcrypt/asn.h>
2324
2425#include <openssl/store.h>
Original file line number Diff line number Diff line change @@ -666,18 +666,10 @@ int main(int argc, char* argv[])
666666 err = run_tests (runAll );
667667 }
668668
669- if (osslProv != NULL ) {
670- OSSL_PROVIDER_unload (osslProv );
671- }
672- if (osslLibCtx != NULL ) {
673- OSSL_LIB_CTX_free (osslLibCtx );
674- }
675- if (wpProv != NULL ) {
676- OSSL_PROVIDER_unload (wpProv );
677- }
678- if (wpLibCtx != NULL ) {
679- OSSL_LIB_CTX_free (wpLibCtx );
680- }
669+ OSSL_PROVIDER_unload (osslProv );
670+ OSSL_LIB_CTX_free (osslLibCtx );
671+ OSSL_PROVIDER_unload (wpProv );
672+ OSSL_LIB_CTX_free (wpLibCtx );
681673
682674 OPENSSL_cleanup ();
683675
You can’t perform that action at this time.
0 commit comments