Skip to content

Commit 90af9c6

Browse files
authored
Update ssl_engine_vars.c
1 parent c39d16a commit 90af9c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ssl/ssl_engine_vars.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ static const char *ssl_var_lookup_ssl_clienthello(apr_pool_t *p, const SSLConnRe
10021002
else if (strEQ(var, "EXTENSIONS") && (clienthello_vars->extids_len > 0)) {
10031003
value = apr_palloc(p, clienthello_vars->extids_len * 4 + 1);
10041004
for (i = 0; i < clienthello_vars->extids_len; i++) {
1005-
snprintf(value + i * 4, 5, "%04x", (uint16_t) clienthello_vars->extids_data[i]);
1005+
apr_snprintf(value + i * 4, 5, "%04x", (uint16_t) clienthello_vars->extids_data[i]);
10061006
}
10071007
return value;
10081008
}

0 commit comments

Comments
 (0)