File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1090,7 +1090,7 @@ int we_init_sha224_meth()
10901090
10911091 WOLFENGINE_ENTER (WE_LOG_DIGEST , "we_init_sha224_meth" );
10921092
1093- ret = (we_sha224_md = EVP_MD_meth_new (NID_sha256 , EVP_PKEY_NONE )) != NULL ;
1093+ ret = (we_sha224_md = EVP_MD_meth_new (NID_sha224 , EVP_PKEY_NONE )) != NULL ;
10941094 if (ret == 1 ) {
10951095 ret = EVP_MD_meth_set_init (we_sha224_md , we_sha224_init );
10961096 }
Original file line number Diff line number Diff line change @@ -799,7 +799,7 @@ static int wolfengine_init(ENGINE *e)
799799 }
800800 #ifdef WE_HAVE_ECDSA
801801 if (ret == 1 ) {
802- we_init_ecdsa_sha1_meth ();
802+ ret = we_init_ecdsa_sha1_meth ();
803803 }
804804 #endif
805805#endif
@@ -947,13 +947,13 @@ static int wolfengine_init(ENGINE *e)
947947#ifdef WE_HAVE_ECDSA
948948#if OPENSSL_VERSION_NUMBER <= 0x100020ffL
949949 if (ret == 1 ) {
950- we_init_ecdsa_meth ();
950+ ret = we_init_ecdsa_meth ();
951951 }
952952#endif
953953#endif
954954#ifdef WE_HAVE_PBE
955955 if (ret == 1 ) {
956- we_init_pbe_keygen ();
956+ ret = we_init_pbe_keygen ();
957957 }
958958#endif
959959
You can’t perform that action at this time.
0 commit comments