spice/common
Marc-André Lureau c16b1a924b common: add ssl_verify.c common code
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.
2011-05-03 16:49:56 +02:00
..
win Add files i forgot to commit 2010-07-09 11:57:09 +02:00
.gitignore fresh start 2009-10-14 15:06:41 +02:00
bitops.h common: don't duplicate find_msb implementation 2011-05-03 14:44:11 +02:00
canvas_base.c common: use PANIC from spice_common.h 2011-05-03 14:44:11 +02:00
canvas_base.h common: add windows.h where required, make gdi_handlers static 2011-05-03 16:49:56 +02:00
canvas_utils.c common: add windows.h where required, make gdi_handlers static 2011-05-03 16:49:56 +02:00
canvas_utils.h common: add windows.h where required, make gdi_handlers static 2011-05-03 16:49:56 +02:00
draw.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
gdi_canvas.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
gdi_canvas.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
gl_canvas.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
gl_canvas.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
gl_utils.h common: don't duplicate find_msb implementation 2011-05-03 14:44:11 +02:00
glc.c move WARN and WARN_ONCE to spice_common.h 2011-05-03 14:44:11 +02:00
glc.c.save fresh start 2009-10-14 15:06:41 +02:00
glc.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
lines.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
lines.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
lz_common.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
lz_compress_tmpl.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
lz_config.h Use macros from <spice/macros.h> rather than duplicate them 2010-03-09 11:10:00 +01:00
lz_decompress_tmpl.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
lz.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
lz.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
Makefile.am common: add ssl_verify.c common code 2011-05-03 16:49:56 +02:00
marshaller.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
marshaller.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
mem.c common: spice_memdup could accept NULL 2011-05-03 16:49:56 +02:00
mem.h common: mem.h add alloca definition 2011-05-03 16:49:56 +02:00
messages.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
mutex.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
ogl_ctx.c move WARN and WARN_ONCE to spice_common.h 2011-05-03 14:44:11 +02:00
ogl_ctx.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
pixman_utils.c common: use PANIC from spice_common.h 2011-05-03 14:44:11 +02:00
pixman_utils.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
quic_config.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
quic_family_tmpl.c add missing static 2011-05-03 14:44:11 +02:00
quic_rgb_tmpl.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
quic_tmpl.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
quic.c common: don't duplicate find_msb implementation 2011-05-03 14:44:11 +02:00
quic.h use foo(void) instead of foo() in prototypes 2011-05-02 11:24:44 +02:00
rect.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
region.c common,server: use ASSERT from spice_common.h 2011-05-03 14:44:11 +02:00
region.h common: add extern "C" guards to headers 2011-05-02 11:24:44 +02:00
ring.h common: add ring_get_length() for debugging purposes 2011-05-03 16:49:56 +02:00
rop3.c move WARN and WARN_ONCE to spice_common.h 2011-05-03 14:44:11 +02:00
rop3.h use foo(void) instead of foo() in prototypes 2011-05-02 11:24:44 +02:00
spice_common.h move get_time_stamp to main_channel.c 2011-05-03 14:44:12 +02:00
ssl_verify.c common: add ssl_verify.c common code 2011-05-03 16:49:56 +02:00
ssl_verify.h common: add ssl_verify.c common code 2011-05-03 16:49:56 +02:00
sw_canvas.c add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
sw_canvas.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00