mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-09 07:13:43 -05:00
Fix typo in validate_manual_hostkey().
'p += strcspn' returns p always non-NULL and sometimes pointing at \0, as opposed to 'p = strchr' which returns p sometimes non-NULL and never pointing at \0. Test the pointer after the call accordingly. Thanks, Coverity.
This commit is contained in: