Skip to content

Commit 2f6c63c

Browse files
committed
session_server_tls: changes due to PR review
1 parent 9290b06 commit 2f6c63c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/session_server_tls.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ static int
331331
nc_server_tls_cert_to_name(struct nc_ctn *ctn, void *cert_chain, char **username)
332332
{
333333
int ret = 1, i, cert_count, fingerprint_match;
334-
char *digest_md5 = NULL, *digest_sha1 = NULL, *digest_sha224 = NULL;
335-
char *digest_sha256 = NULL, *digest_sha384 = NULL, *digest_sha512 = NULL;
334+
char *digest_md5, *digest_sha1, *digest_sha224;
335+
char *digest_sha256, *digest_sha384, *digest_sha512;
336336
void *cert;
337337

338338
/* first make sure the entry is valid */

0 commit comments

Comments
 (0)