提交 f912e929 编写于 作者: B Bodo Möller

use 0, not NULL

Submitted by: Nils Larsch
上级 56939728
...@@ -87,6 +87,6 @@ int ECDH_compute_key(unsigned char *key, const EC_POINT *pub_key, EC_KEY *eckey) ...@@ -87,6 +87,6 @@ int ECDH_compute_key(unsigned char *key, const EC_POINT *pub_key, EC_KEY *eckey)
{ {
ECDH_DATA *ecdh = ecdh_check(eckey); ECDH_DATA *ecdh = ecdh_check(eckey);
if (ecdh == NULL) if (ecdh == NULL)
return NULL; return 0;
return ecdh->meth->compute_key(key, pub_key, eckey); return ecdh->meth->compute_key(key, pub_key, eckey);
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册