summaryrefslogtreecommitdiff
path: root/src/serv.gaa
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-03-28 12:45:07 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-03-28 12:45:07 +0000
commitf44d2fe12ceba006399a09d152d148059f87436a (patch)
tree7baab66a474bb159f83bc6d2018a1d507588bdba /src/serv.gaa
parentbc9236ebb61eaeb7b970d9f5753dbb5c8cff7b00 (diff)
downloadgnutls-f44d2fe12ceba006399a09d152d148059f87436a.tar.gz
added option to read DER encoded certificates
Diffstat (limited to 'src/serv.gaa')
-rw-r--r--src/serv.gaa5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/serv.gaa b/src/serv.gaa
index 1409fd6171..eeb6f2ee6e 100644
--- a/src/serv.gaa
+++ b/src/serv.gaa
@@ -9,6 +9,9 @@ option (p, port) INT "integer" { $port = $1 } "The port to connect to."
#int http;
option (http) { $http = 1 } "Act as an HTTP Server."
+#int fmtder;
+option (x509fmtder) { $fmtder = 1 } "Use DER format for certificates"
+
#char *x509_cafile;
option (x509cafile) STR "FILE" { $x509_cafile = $1 } "Certificate file to use."
@@ -74,7 +77,7 @@ init { $generate=0; $port=5556; $http=0; $ciphers=NULL;
$x509_cafile = NULL; $pgp_keyfile=NULL; $pgp_certfile=NULL;
$x509_keyfile=NULL; $x509_certfile=NULL; $pgp_keyserver=NULL;
$srp_passwd=NULL; $srp_passwd_conf=NULL;
- $pgp_trustdb=NULL; $pgp_keyring=NULL; }
+ $pgp_trustdb=NULL; $pgp_keyring=NULL; $fmtder = 0; }
##