projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8f4cdd
)
BIO_set_prefix: fix return check
author
Peiwei Hu
<jlu.hpw@foxmail.com>
Sun, 14 Nov 2021 15:45:39 +0000
(23:45 +0800)
committer
Tomas Mraz
<tomas@openssl.org>
Mon, 22 Nov 2021 13:43:44 +0000
(14:43 +0100)
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17028)
test/bio_prefix_text.c
patch
|
blob
|
history
diff --git
a/test/bio_prefix_text.c
b/test/bio_prefix_text.c
index 4fc468a97687f5bec3267a45ca0230c214c2276d..5eed72d66a1fdbdc9d08d62e877f1fde099b3f86 100644
(file)
--- a/
test/bio_prefix_text.c
+++ b/
test/bio_prefix_text.c
@@
-242,7
+242,7
@@
static int setup(void)
progname, idx, amount - 1);
return 0;
}
- if (
!BIO_set_prefix(chain[idx], colon)
) {
+ if (
BIO_set_prefix(chain[idx], colon) <= 0
) {
BIO_printf(bio_err, "%s: failed setting prefix: %s",
progname, arg);
return 0;