From f912e9293f2f5e63e4cb8df4a029a6989123f05d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Fri, 9 Aug 2002 09:39:53 +0000 Subject: [PATCH] use 0, not NULL Submitted by: Nils Larsch --- crypto/ecdh/ech_key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ecdh/ech_key.c b/crypto/ecdh/ech_key.c index d2fd363168..8b21addf3c 100644 --- a/crypto/ecdh/ech_key.c +++ b/crypto/ecdh/ech_key.c @@ -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); if (ecdh == NULL) - return NULL; + return 0; return ecdh->meth->compute_key(key, pub_key, eckey); } -- 2.25.1