diff options
author | runge <runge@karlrunge.com> | 2010-02-22 22:33:50 -0500 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2010-02-22 22:33:50 -0500 |
commit | 521b9d98a4b772689061b24bcfd57dcce976aacc (patch) | |
tree | a0e4ed61ae608dd0bdca48d95d3e5960f46253c2 /x11vnc/sslcmds.c | |
parent | 909683fd970fa842a12d2437ea30a624caf2e761 (diff) | |
download | libtdevnc-521b9d98a4b772689061b24bcfd57dcce976aacc.tar.gz libtdevnc-521b9d98a4b772689061b24bcfd57dcce976aacc.zip |
classes/ssl: Java SSL applet viewer now works with certificate chains.
x11vnc: Printout option -sslScripts. Suggest -auth guess in error message. Set fake_screen width and height. Test for +kb in Xvfb.
Diffstat (limited to 'x11vnc/sslcmds.c')
-rw-r--r-- | x11vnc/sslcmds.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/x11vnc/sslcmds.c b/x11vnc/sslcmds.c index f096391..0abe9c7 100644 --- a/x11vnc/sslcmds.c +++ b/x11vnc/sslcmds.c @@ -53,6 +53,7 @@ int start_stunnel(int stunnel_port, int x11vnc_port, int hport, int x11vnc_hport void stop_stunnel(void); void setup_stunnel(int rport, int *argc, char **argv); char *get_Cert_dir(char *cdir_in, char **tmp_in); +void sslScripts(void); void sslGenCA(char *cdir); void sslGenCert(char *ty, char *nm); void sslEncKey(char *path, int info_only); @@ -558,6 +559,15 @@ static char *getsslscript(char *cdir, char *name, char *script) { return scr; } +void sslScripts(void) { + fprintf(stdout, "======================================================\n"); + fprintf(stdout, "genCA script for '-sslGenCA':\n\n"); + fprintf(stdout, "%s\n", genCA); + fprintf(stdout, "======================================================\n"); + fprintf(stdout, "genCert script for '-sslGenCert', etc.:\n\n"); + fprintf(stdout, "%s\n", genCert); +} + void sslGenCA(char *cdir) { char *cmd, *scr = getsslscript(cdir, "genca", genCA); |