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:
541e956
)
Fix return code in CRYPTO_mem_leaks_fp()
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 5 Feb 2016 14:36:01 +0000
(14:36 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 5 Feb 2016 16:02:21 +0000
(16:02 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/mem_dbg.c
patch
|
blob
|
history
diff --git
a/crypto/mem_dbg.c
b/crypto/mem_dbg.c
index 3568efd79198ea4d44ffd547d689d8361b6690b1..05590442d14f4d4643d5c27c18557e438acab8d2 100644
(file)
--- a/
crypto/mem_dbg.c
+++ b/
crypto/mem_dbg.c
@@
-694,8
+694,8
@@
int CRYPTO_mem_leaks_fp(FILE *fp)
BIO *b;
int ret;
- if (mh == NULL)
- return
0
;
+ if (mh == NULL
&& amih == NULL
)
+ return
1
;
/*
* Need to turn off memory checking when allocated BIOs ... especially as
* we're creating them at a time when we're trying to check we've not