/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to plugins.d/mandos-client.c

* plugin-runner.c (getplugin, add_environment, main): Handle EINTR
                                                      properly.

* plugins.d/mandos-client.c (start_mandos_communication): Bug fix:
  move out "decrypted_buffer_size" to where it is needed.

* plugins.d/splashy.c (termination_handler): Save signal received.
  (main): Check return value from "sigaddset()".

Show diffs side-by-side

added added

removed removed

Lines of Context:
804
804
  }
805
805
  
806
806
  if(buffer_length > 0){
 
807
    ssize_t decrypted_buffer_size;
807
808
    decrypted_buffer_size = pgp_packet_decrypt(buffer,
808
809
                                               buffer_length,
809
810
                                               &decrypted_buffer);
810
811
    if(decrypted_buffer_size >= 0){
811
 
      ssize_t decrypted_buffer_size;
812
812
      
813
813
      written = 0;
814
814
      while(written < (size_t) decrypted_buffer_size){