diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2010-03-13 17:45:19 +0100 |
|---|---|---|
| committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2010-03-13 17:45:19 +0100 |
| commit | b991c61628bb2eb93071f23784638614734b9526 (patch) | |
| tree | edab99e445ec377b7cdca798e60511373c4d1bba /x11vnc/sslcmds.c | |
| parent | 19aa466a967aa15f873c49508342a235100056dc (diff) | |
| parent | 018aac069a88243279e4172c44fb76eb881818d2 (diff) | |
| download | libtdevnc-b991c61628bb2eb93071f23784638614734b9526.tar.gz libtdevnc-b991c61628bb2eb93071f23784638614734b9526.zip | |
Merge remote branch 'sf/master'
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); |
