projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f05987
)
ssl_send_certificate_error(): Remove a 'dead nested assignment'
author
Fabian Keil
<fk@fabiankeil.de>
Wed, 9 Aug 2023 04:58:56 +0000
(06:58 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Thu, 10 Aug 2023 15:09:22 +0000
(17:09 +0200)
ssl_common.c
patch
|
blob
|
history
diff --git
a/ssl_common.c
b/ssl_common.c
index
4cf7291
..
45f1e76
100644
(file)
--- a/
ssl_common.c
+++ b/
ssl_common.c
@@
-392,8
+392,8
@@
extern void ssl_send_certificate_error(struct client_state *csp)
{
if (cert->file_buf != NULL)
{
-
/* +1 for terminating null */
- size_t base64_len =
base64_len =
4 * ((strlen(cert->file_buf) + 2) / 3) + 1;
+ /* +1 for terminating null */
+ size_t base64_len = 4 * ((strlen(cert->file_buf) + 2) / 3) + 1;
size_t olen = 0;
char base64_buf[base64_len];