summaryrefslogtreecommitdiffstats
path: root/client/red_peer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add some more 'noreturn' annotationsDaniel P. Berrange2012-04-251-1/+1
| | | | | | | | Methods which longjump, unconditionally raise an exception, or call _exit() cannot return control to the caller so should be annotated with 'noreturn' Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Fix multiple printf format problemsDaniel P. Berrange2012-04-251-1/+1
| | | | | | | | | | | | | | | | All printf var-args style methods should be annotation with their format. All format strings must be const strings. * client/application.cpp, client/cmd_line_parser.cpp, client/hot_keys.cpp: Avoid non-const format * client/client_net_socket.cpp: Fix broken format specifier * client/red_peer.cpp: Fix missing format specifier * client/platform.h: Add SPICE_GNUC_PRINTF annotation to term_printf * client/utils.h: Add SPICE_GNUC_PRINTF annotation to string_printf * server/glz_encoder_config.h, server/red_worker.c: Add SPICE_GNUC_PRINTF annotation to warning callbacks Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Use the spice-common submoduleMarc-André Lureau2012-03-251-2/+6
| | | | | | | | | | | | | | | | | | This patch will replace the common/ directory with the spice-common project. It is for now a simple project subdirectory shared with spice-gtk, but the goal is to make it a proper library later on. With this change, the spice-server build is broken. The following commits fix the build, and have been seperated to ease the review. v2 - moves all the generated marshallers to spice-common library - don't attempt to fix windows VS build, which should somehow be splitted with spice-common (or built from tarball only to avoid generation tools/libs deps) v3 - uses libspice-common-client - fix a mutex.h inclusion reported by Alon
* client: rename connect_unsecure to connect_to_peerUri Lublin2011-07-181-4/+14
| | | | | | | | Both connect_secure() and connect_unsecure() call connect_to_peer(). Prior to this commit spicec.log reported all connections as unsecure, as connect_secure() called connect_unsecure() to make the connection. This fixes RH bug #653545
* client: s/recive/receiveChristophe Fergeau2011-07-181-4/+4
|
* client: make use of ssl_verify.cMarc-André Lureau2011-05-031-358/+19
| | | | | | | 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
* add #include <config.h> to all source filesChristophe Fergeau2011-05-031-0/+3
| | | | | | | | When using config.h, it must be the very first include in all source files since it contains #define that may change the compilation process (eg libc structure layout changes when it's used to enable large file support on 32 bit x86 archs). This commit adds it at the beginning of all .c and .cpp files
* client: log subject-host mismatch, and raise ssl warnings to errorsAlon Levy2011-02-071-5/+5
|
* mingw32 build: fixed using -1 as uninitialized value for unsigned variablesAlon Levy2010-12-081-3/+3
|
* mingw32 build: fix signed/unsigned warnings as errorsAlon Levy2010-12-081-1/+1
|
* Fix various misspellingsAlexander Larsson2010-07-081-4/+4
| | | | | | | | | | | | | letancy -> latency compund -> compound SpicedSubMessage -> SpiceSubMessage modifaiers -> modifiers massage -> message outgoiong -> outgoing AlphaBlnd -> AlphaBlend remoth -> remote modifires -> modifiers secore -> secure
* Add more emacs mode headersAlexander Larsson2010-06-221-0/+1
|
* Switch client to use generated marshallersAlexander Larsson2010-06-181-22/+43
|
* Relicense everything from GPL to LGPL 2.1+Alexander Larsson2010-04-131-9/+9
|
* client: add command line support for ciphers, ca file, and host certificate ↵Yonit Halperin2010-03-181-1/+6
| | | | subject
* Only use AI_ADDRCONF if availibleAlexander Larsson2010-03-031-1/+4
| | | | AI_ADDRCONF not availible on winXP, so this fixes windows build.
* spice client: add ipv6 support.Gerd Hoffmann2010-02-271-51/+41
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* spice client: fix dns lookupGerd Hoffmann2010-02-271-3/+9
| | | | | | ignore lookup results which are not ipv4 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* Use the new header namesAlexander Larsson2010-02-041-1/+1
| | | | | | I just ran: find -name "*.[ch]" | xargs sed -i -f ../spice-protocol/includes.sed find -name "*.cpp" | xargs sed -i -f ../spice-protocol/includes.sed
* Rename symbols that were changed in spice-protocolAlexander Larsson2010-02-041-4/+4
| | | | | | This is an automatic change using: $ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames $ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
* server,client: server authentication for secured channels.Yonit Halperin2010-01-111-15/+386
| | | | | | | | | 3 available mechanisms: by public key, by host name, and by certificate subject name. In the former method, chain of trust verification is not performed. The CA certificate files are looked for under <spice-config-dir>/spice_truststore.pem windows <spice-config-dir>=%APPDATA%\spicec\ linux <spice-config-dir>=$HOME/.spicec/
* spice: fix ssl compiling errorsIzik Eidus2009-12-221-0/+4
| | | | | | (openssl api was changed, so lets have ifdef to compile in all cases) Signed-off-by: Izik Eidus <ieidus@redhat.com>
* tunnelYonit Halperin2009-10-181-44/+2
|
* fresh startYaniv Kamay2009-10-141-0/+426