The passenger wasn't thinking very clearly at all when he thought it might be a good idea to inform the check-in staff of his prescription. What reaction was he expecting? Legal, illegal or grey-area: why draw attention to yourself? Maybe next trip he'll be smarter and leave his carry-on closed and quietly carry the prescription forms in his pocket in case the screeners have any questions.