projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efc5a9d
)
CLEANUP: ssl: ssl_sock_crt2der semicolon and spaces
author
William Dauchy
<w.dauchy@criteo.com>
Thu, 6 Aug 2020 16:11:37 +0000
(18:11 +0200)
committer
William Lallemand
<wlallemand@haproxy.org>
Fri, 7 Aug 2020 13:38:40 +0000
(15:38 +0200)
trivial commit, does not change the code behaviour
Signed-off-by: William Dauchy <w.dauchy@criteo.com>
src/ssl_utils.c
patch
|
blob
|
history
diff --git
a/src/ssl_utils.c
b/src/ssl_utils.c
index
510b5da
..
0a12fea
100644
(file)
--- a/
src/ssl_utils.c
+++ b/
src/ssl_utils.c
@@
-87,16
+87,16
@@
int ssl_sock_get_serial(X509 *crt, struct buffer *out)
int ssl_sock_crt2der(X509 *crt, struct buffer *out)
{
int len;
- unsigned char *p = (unsigned char *) out->area;;
+ unsigned char *p = (unsigned char *) out->area;
- len =i2d_X509(crt, NULL);
+ len = i2d_X509(crt, NULL);
if (len <= 0)
return 1;
if (out->size < len)
return -1;
- i2d_X509(crt,&p);
+ i2d_X509(crt, &p);
out->data = len;
return 1;
}