Move the CHIL engine to demos/engines
[openssl.git] / demos / bio / sconnect.c
index 2b610cc8b548ebe9987a014d666d63111ec7fbbc..664a1e038cf9e8e000c576472f083c709fa2ac3a 100644 (file)
@@ -1,5 +1,11 @@
-/* NOCW */
-/* demos/bio/sconnect.c */
+/*
+ * Copyright 1998-2016 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the OpenSSL license (the "License").  You may not use
+ * this file except in compliance with the License.  You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
 
 /*-
  * A minimal program to do SSL to a passed host and port.
 
 /*-
  * A minimal program to do SSL to a passed host and port.
@@ -49,11 +55,6 @@ char *argv[];
     sock_init();
 #endif
 
     sock_init();
 #endif
 
-    /* Lets get nice error messages */
-    SSL_load_error_strings();
-
-    /* Setup all the global SSL stuff */
-    OpenSSL_add_ssl_algorithms();
     ssl_ctx = SSL_CTX_new(TLS_client_method());
 
     /* Enable trust chain verification */
     ssl_ctx = SSL_CTX_new(TLS_client_method());
 
     /* Enable trust chain verification */