Update with a new version number

This update brings the PHP binding of GmSSL through the PHP OpenSSL
extension.
This commit is contained in:
Zhi Guan
2018-03-13 12:55:29 +08:00
parent 056130c053
commit 7b32723196
6 changed files with 5354 additions and 5355 deletions

View File

@@ -99,8 +99,8 @@ int EVP_PKEY_encrypt_old(unsigned char *out, const unsigned char *in,
# ifdef SM2_DEBUG
fprintf(stderr, "[SM2_DEBUG] %s->EVP_PKEY_CTX_set_ec_scheme\n", __FUNCTION__);
# endif
if (EVP_PKEY_CTX_set_ec_scheme(pkctx, NID_sm_scheme) <= 0
|| EVP_PKEY_CTX_set_ec_encrypt_param(pkctx, NID_sm3) <= 0) {
if (EVP_PKEY_CTX_set_ec_scheme(ctx, NID_sm_scheme) <= 0
|| EVP_PKEY_CTX_set_ec_encrypt_param(ctx, NID_sm3) <= 0) {
goto end;
}
}