573
573
drizzle_return_t drizzle_state_handshake_result_read(drizzle_con_st *con)
577
577
drizzle_log_debug(con->drizzle, "drizzle_state_handshake_result_read");
581
581
return DRIZZLE_RETURN_MEMORY;
586
586
drizzle_return_t ret= drizzle_state_result_read(con);
587
587
if (drizzle_state_none(con))
589
589
if (ret == DRIZZLE_RETURN_OK)
593
593
drizzle_set_error(con->drizzle, "drizzle_state_handshake_result_read",
594
594
"old insecure authentication mechanism not supported");
595
595
ret= DRIZZLE_RETURN_AUTH_FAILED;
599
598
con->options|= DRIZZLE_CON_READY;
606
604
if (ret == DRIZZLE_RETURN_ERROR_CODE)