+ compress_opt = stralloc("srvcomp-fast;");
+ else if(options->compress == COMPR_SERVER_CUST)
+ compress_opt = vstralloc("srvcomp-cust=", options->srvcompprog, ";", NULL);
+ else if(options->compress == COMPR_CUST)
+ compress_opt = vstralloc("comp-cust=", options->clntcompprog, ";", NULL);
+ else
+ compress_opt = stralloc("");
+
+ if(options->encrypt == ENCRYPT_CUST) {
+ encrypt_opt = vstralloc("encrypt-cust=", options->clnt_encrypt, ";", NULL);
+ if (options->clnt_decrypt_opt)
+ decrypt_opt = vstralloc("client-decrypt-option=", options->clnt_decrypt_opt, ";", NULL);
+ else
+ decrypt_opt = stralloc("");
+ }
+ else if(options->encrypt == ENCRYPT_SERV_CUST) {
+ encrypt_opt = vstralloc("encrypt-serv-cust=", options->srv_encrypt, ";", NULL);
+ if(options->srv_decrypt_opt)
+ decrypt_opt = vstralloc("server-decrypt-option=", options->srv_decrypt_opt, ";", NULL);
+ else
+ decrypt_opt = stralloc("");
+ }
+ else {
+ encrypt_opt = stralloc("");
+ decrypt_opt = stralloc("");
+ }
+