projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extend the BIO callback tests to check the return value semantics
[openssl.git]
/
crypto
/
dh
/
dh_prn.c
diff --git
a/crypto/dh/dh_prn.c
b/crypto/dh/dh_prn.c
index 283fb0f4a31a47a806f83d36d4dd69fdf4bb83c0..aab1733db3b3b7b36bf8456619a021ccc5ec8f22 100644
(file)
--- a/
crypto/dh/dh_prn.c
+++ b/
crypto/dh/dh_prn.c
@@
-20,11
+20,11
@@
int DHparams_print_fp(FILE *fp, const DH *x)
if ((b = BIO_new(BIO_s_file())) == NULL) {
DHerr(DH_F_DHPARAMS_PRINT_FP, ERR_R_BUF_LIB);
- return
(0)
;
+ return
0
;
}
BIO_set_fp(b, fp, BIO_NOCLOSE);
ret = DHparams_print(b, x);
BIO_free(b);
- return
(ret)
;
+ return
ret
;
}
#endif