use 0, not NULL
authorBodo Möller <bodo@openssl.org>
Fri, 9 Aug 2002 09:39:53 +0000 (09:39 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 9 Aug 2002 09:39:53 +0000 (09:39 +0000)
Submitted by: Nils Larsch

crypto/ecdh/ech_key.c

index d2fd363..8b21add 100644 (file)
@@ -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);
 }