summaryrefslogtreecommitdiffstats
path: root/common/ssl_verify.c
Commit message (Collapse)AuthorAgeFilesLines
* common: fix ssl_verify windows build errorsArnon Gilboa2011-05-121-2/+3
|
* common: add ssl_verify.c common codeMarc-André Lureau2011-05-031-0/+481
Code adapter from RedPeer::ssl_verify_callback() and used by spice-gtk. Since v1: - fixed Makefile.am - added config.h include - autoconf alloca added in patch series - moved int escape inside for loop - added a failed case when missing assignment - replaced strlen () by -1 - skip spaces after comma - c++ guards I didn't use bool, because openSSL uses int, and it is more future proof for error reporting.