It merely affirmed it. It was Israel who declared it legal, under international and maritime laws. Your preference is irrelevant to the legality of the issue.
Hundreds gather in protest at CA GOP convention when Trump is set to speak (Haaretz)
from the article: Israel Navy tracks new Gaza-bound flotilla