Suppress an error when doing SM2 sign/verify ops
authorPaul Yang <kaishen.yy@antfin.com>
Mon, 28 Oct 2019 12:14:53 +0000 (20:14 +0800)
committerPaul Yang <kaishen.yy@antfin.com>
Tue, 29 Oct 2019 12:36:05 +0000 (20:36 +0800)
commit9cebf0d179e9a2baadabbac1f310c053ce4b8e57
tree9b08dbcf350b12cf1a0b802f974eaaa4d36d356a
parent325c9ac198c822ca634a12d3856341c5044c66d0
Suppress an error when doing SM2 sign/verify ops

This was fixed in #8321 right after the 1.1.1 was released but never
back ported to 1.1.1. Now fix it.

Issue reported from lua-openssl project.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10278)
crypto/sm2/sm2_pmeth.c