Coating or impregnation contains aldehyde or ketone condensation product