Changeset 41658da for protocols


Ignore:
Timestamp:
2011-12-19T18:45:53Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
792a93b
Parents:
9f958f7
Message:

Just check if verification code != 0 instead of checking for one specific
bit. Any non-0 failure means a problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/io.c

    r9f958f7 r41658da  
    292292                jd->ssl = NULL;
    293293               
    294                 if( returncode & VERIFY_CERT_INVALID)
     294                if( returncode != 0 )
    295295                {
    296296                        char *err = ssl_verify_strerror( returncode );
Note: See TracChangeset for help on using the changeset viewer.