projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5693972
)
use 0, not NULL
author
Bodo Möller
<bodo@openssl.org>
Fri, 9 Aug 2002 09:39:53 +0000
(09:39 +0000)
committer
Bodo 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
patch
|
blob
|
history
diff --git
a/crypto/ecdh/ech_key.c
b/crypto/ecdh/ech_key.c
index d2fd363168862f107e23f6a60a80192649b2675d..8b21addf3ca4774f1f1b6167e3be555d15a270f1 100644
(file)
--- 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);
}