#3899: mutt_ssl's interactive_check_cert() has several issues
-----------------------+----------------------
Reporter: kevin8t8 | Owner: mutt-dev
Type: defect | Status: closed
Priority: major | Milestone:
Component: crypto | Version:
Resolution: fixed | Keywords:
-----------------------+----------------------
Comment (by vinc17):
Replying to [comment:18 derekmartin]:
> The macro version has the opposite problem: You can make the array too
small and it will "work" but it will be incomplete.
I don't see any problem.
> Ultimately, a bug is a bug, and you just have to write the code
correctly.
This is more complex than that. Code evolves and can become incorrect. The
advantage of the macro is that the size of the array is given only at one
place: via the initializer list.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3899#comment:20>
Mutt <http://www.mutt.org/>
The Mutt mail user agent