]> gitweb.factorcode.org Git - factor.git/commitdiff
io.sockets.secure.openssl: Fix docs.
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 28 Nov 2013 18:59:36 +0000 (12:59 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 28 Nov 2013 18:59:36 +0000 (12:59 -0600)
basis/io/sockets/secure/openssl/openssl-docs.factor

index bc66781b6283911972f69958a066cea4ea3c80c8..0ff6903fe65087ffe06f6063466e254bc8002446 100644 (file)
@@ -1,13 +1,12 @@
-USING: help.markup help.syntax ;
+USING: help.markup help.syntax kernel strings sequences ;
 IN: io.sockets.secure.openssl
 
-
 HELP: subject-name
-{ $values { "certificate" "an SSL peer certificate" } }
+{ $values { "certificate" "an SSL peer certificate" } { "host" string } }
 { $description "The subject name of a certificate." } ;
 
 HELP: subject-names-match?
-{ $values { "host" "a host name" } { "subject" "a subject name" } }
+{ $values { "host" "a host name" } { "subject" "a subject name" } { "?" boolean } }
 { $description "True if the host name matches the subject name." }
 { $examples
     { $code
@@ -17,5 +16,5 @@ HELP: subject-names-match?
 } ;
 
 HELP: alternative-dns-names
-{ $values { "certificate" "an SSL peer certificate" } }
+{ $values { "certificate" "an SSL peer certificate" } { "dns-names" sequence } }
 { $description "Alternative subject names for the certificate." } ;