Fix various typos.
[openssl.git] / demos / bio / server-conf.c
index d520a1bbb802cf3c961b8c4d1cf561f7b06dcea7..403905ceb793c2a3f5bfe252bc5df02c1fd34556 100644 (file)
@@ -1,13 +1,11 @@
 /* NOCW */
-/* demos/bio/saccept.c */
+/* demos/bio/saccept-conf.c */
 
-/* A minimal program to server an SSL connection.
+/* A minimal program to serve an SSL connection.
  * It uses blocking.
- * saccept host:port
- * host is the interface IP to use.  If any interface, use *:port
- * The default it *:4433
+ * It uses the SSL_CONF API with a configuration file.
  *
- * cc -I../../include saccept.c -L../.. -lssl -lcrypto
+ * cc -I../../include saccept.c -L../.. -lssl -lcrypto -ldl
  */
 
 #include <stdio.h>
@@ -98,8 +96,8 @@ int main(int argc, char *argv[])
 
        if ((in=BIO_new_accept(port)) == NULL) goto err;
 
-       /* This means that when a new connection is acceptede on 'in',
-        * The ssl_bio will be 'dupilcated' and have the new socket
+       /* This means that when a new connection is accepted on 'in',
+        * The ssl_bio will be 'duplicated' and have the new socket
         * BIO push into it.  Basically it means the SSL BIO will be
         * automatically setup */
        BIO_set_accept_bios(in,ssl_bio);