Re: [Spice-devel] [PATCH] client: make use of ssl_verify.c

2011-05-03 Thread Marc-André Lureau
On Tue, May 3, 2011 at 5:12 PM, Christophe Fergeau wrote: > On Tue, May 03, 2011 at 04:52:37PM +0200, Marc-André Lureau wrote: >> @@ -2516,7 +2519,7 @@ void spice_log(unsigned int type, const char >> *function, const char *format, ...) >>                  Platform::get_thread_id(), >>            

Re: [Spice-devel] [PATCH] client: make use of ssl_verify.c

2011-05-03 Thread Christophe Fergeau
On Tue, May 03, 2011 at 04:52:37PM +0200, Marc-André Lureau wrote: > @@ -2516,7 +2519,7 @@ void spice_log(unsigned int type, const char *function, > const char *format, ...) > Platform::get_thread_id(), > function_to_func_name(function).c_str(), >

[Spice-devel] [PATCH] client: make use of ssl_verify.c

2011-05-03 Thread Marc-André Lureau
Fixed since v1: - don't include C code, rather use the common lib - add missing spice_openssl_verify_free() call - keep the extra-parsing of subject for error reporting --- client/application.cpp | 19 ++- client/red_client.cpp |2 +- client/red_peer.cpp| 377 +++---