projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c55e144
)
JSON_ENC: Fix initial value of error
author
Hugo Landau
<hlandau@openssl.org>
Mon, 29 Jan 2024 12:37:10 +0000
(12:37 +0000)
committer
Hugo Landau
<hlandau@openssl.org>
Fri, 2 Feb 2024 11:50:29 +0000
(11:50 +0000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037)
ssl/quic/json_enc.c
patch
|
blob
|
history
diff --git
a/ssl/quic/json_enc.c
b/ssl/quic/json_enc.c
index 06da2adf885933a4bfe656480d254988b7ec8363..302479a5d5a329b71db235244efd47e84cd18f33 100644
(file)
--- a/
ssl/quic/json_enc.c
+++ b/
ssl/quic/json_enc.c
@@
-233,7
+233,7
@@
int ossl_json_init(OSSL_JSON_ENC *json, BIO *bio, uint32_t flags)
{
memset(json, 0, sizeof(*json));
json->flags = flags;
- json->error =
1
;
+ json->error =
0
;
if (!wbuf_init(&json->wbuf, bio, 4096))
return 0;