/*
* Negotiation generated data to be sent to the client.
*/
- elog(DEBUG4, "sending SASL challenge of length %u", outputlen);
+ elog(DEBUG4, "sending SASL challenge of length %d", outputlen);
if (result == PG_SASL_EXCHANGE_SUCCESS)
sendAuthRequest(port, AUTH_REQ_SASL_FIN, output, outputlen);
state->server_nonce[encoded_len] = '\0';
state->server_first_message =
- psprintf("r=%s%s,s=%s,i=%u",
+ psprintf("r=%s%s,s=%s,i=%d",
state->client_nonce, state->server_nonce,
state->salt, state->iterations);
/* gbuf no longer used */
pfree(buf.data);
- elog(DEBUG5, "gss_accept_sec_context major: %d, "
- "minor: %d, outlen: %u, outflags: %x",
+ elog(DEBUG5, "gss_accept_sec_context major: %u, "
+ "minor: %u, outlen: %u, outflags: %x",
maj_stat, min_stat,
(unsigned int) port->gss->outbuf.length, gflags);