Senegal goalkeeper Khadim Ndiaye started all three matches at the 2018 World Cup. Etsuo Hara / Contributor/ Getty Images

Senegal international goalkeeper Khadim Ndiaye has suffered a double leg break after colliding with his teammate during a Champions League clash for club side Horoya AC against Wydad Casablanca and will miss this summer's the African Nations Cup.

Ndiaye, 34, who started all three of Senegal's matches at the 2018 World Cup, suffered the horrific injury during the second leg of the quarterfinal, where his side were beaten 5-0 to crash out of the competition following a 0-0 draw in the first leg.

"The results [of the surgery] concerning our goalkeeper are reassuring," a post on the club's Instagram page read. "No open fracture.

"He was operated on successfully at the Cheick Zaidi University clinic in Rabat, where he will continue to be cared for, Thank you for all your messages of support."

Ndiaye is set to miss six to nine months of action as he begins his rehabilitation, but Horoya said they have offered their goalkeeper a three-year contract extension.

"Khadim Ndiaye was due to be out of contract in 2019," a statement on the club's website read. "But as a thank you for his services, we wanted to ensure his immediate future by extending his contract for three years from today.

"We had to show him that we are with him."

The club added, after the World Cup in Russia, Ndiaye had declared his loyalty to Horoya when he said he would not leave the club "even if Barcelona offered him a contract."

Senegal begin their African Nations Cup tournament on June 23 with a clash against Tanzania, before facing Algeria and Kenya in Group C.