Skip to content

Commit 0582fd0

Browse files
committed
clang format
Signed-off-by: Stephen Gallagher <[email protected]>
1 parent c41758d commit 0582fd0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

include/sscg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#endif
5050

5151
#ifndef discard_const
52-
#define discard_const(ptr) ((void *)((uintptr_t) (ptr)))
52+
#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
5353
#endif
5454

5555
#ifndef talloc_zfree

src/cert.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ create_cert (TALLOC_CTX *mem_ctx,
150150

151151
if (options->verbosity >= SSCG_DEBUG)
152152
{
153-
const char *tempcert =
154-
SSCG_CERT_TYPE_SERVER ? "/tmp/debug-service.csr" : "/tmp/debug-client.csr";
153+
const char *tempcert = SSCG_CERT_TYPE_SERVER ? "/tmp/debug-service.csr" :
154+
"/tmp/debug-client.csr";
155155

156156
fprintf (stderr, "DEBUG: Writing certificate CSR to %s\n", tempcert);
157157
BIO *csr_out = BIO_new_file (tempcert, "w");

src/sscg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ main (int argc, const char **argv)
196196
CHECK_MEM (dhparams_file);
197197

198198
ret = sscg_io_utils_add_output_file (options->streams,
199-
SSCG_FILE_TYPE_DHPARAMS,
200-
dhparams_file,
201-
options->dhparams_mode);
199+
SSCG_FILE_TYPE_DHPARAMS,
200+
dhparams_file,
201+
options->dhparams_mode);
202202
CHECK_OK (ret);
203203
}
204204
/* Validate and open the file paths */

0 commit comments

Comments
 (0)