sms4 evp bug fixes

This commit is contained in:
Zhi Guan
2017-12-26 22:59:02 +08:00
parent b920f5af10
commit f87ae5dba7
2 changed files with 22 additions and 15 deletions

View File

@@ -335,7 +335,6 @@ static const EVP_CIPHER sms4_ccm = {
};
const EVP_CIPHER *EVP_sms4_ccm(void) {
return NULL;
return &sms4_ccm;
}
#endif /* OPENSSL_NO_SMS4 */