Skip to content

Commit 2599178

Browse files
Roytakmichalvasko
authored andcommitted
session server tls REFACTOR format
1 parent b8f5daf commit 2599178

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/session_server_tls.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ nc_server_tls_cert_to_name(struct nc_ctn *ctn, void *cert_chain, char **username
343343

344344
cert_count = nc_tls_get_num_certs_wrap(cert_chain);
345345
for (i = 0; i < cert_count; i++) {
346-
DBG(NULL, "Cert verify CTN: checking entry with id %"PRIu32".", ctn->id);
346+
DBG(NULL, "Cert verify CTN: checking entry with id %" PRIu32 ".", ctn->id);
347347

348348
/* reset the flag */
349349
fingerprint_match = 0;
@@ -447,7 +447,7 @@ nc_server_tls_cert_to_name(struct nc_ctn *ctn, void *cert_chain, char **username
447447
if (fingerprint_match) {
448448
/* found a fingerprint match, try to obtain the username */
449449
VRB(NULL, "Cert verify CTN: entry with a matching fingerprint found.");
450-
DBG(NULL, "Cert verify CTN: matched fingerprint: %s (id %"PRIu32").", ctn->fingerprint, ctn->id);
450+
DBG(NULL, "Cert verify CTN: matched fingerprint: %s (id %" PRIu32 ").", ctn->fingerprint, ctn->id);
451451
ret = nc_server_tls_get_username(cert, ctn, username);
452452
if (ret == -1) {
453453
/* fatal error */

0 commit comments

Comments
 (0)