diff options
author | Paul Yang <yang.yang@baishancloud.com> | 2018-09-05 15:19:17 +0800 |
---|---|---|
committer | Paul Yang <yang.yang@baishancloud.com> | 2018-09-07 18:12:26 +0800 |
commit | 675f4ceef880f9c4eb0fda5dacd18b001fefb5bc (patch) | |
tree | efd1f41c908f873f0567576005b3cab148a76b42 /crypto/evp/pmeth_lib.c | |
parent | a6c4cb845a031f09c6303a2c3452e253d0d01518 (diff) |
Update document for SM2 stuffs
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7113)
Diffstat (limited to 'crypto/evp/pmeth_lib.c')
-rw-r--r-- | crypto/evp/pmeth_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index 76405154a9..633cb8863d 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -859,6 +859,6 @@ void EVP_PKEY_meth_get_digest_custom(EVP_PKEY_METHOD *pmeth, int (**pdigest_custom) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx)) { - if (*pdigest_custom) + if (pdigest_custom != NULL) *pdigest_custom = pmeth->digest_custom; } |