]> sjero.net Git - wget/blobdiff - src/openssl.c
Update copyright lists, conforming to maintainer guidelines
[wget] / src / openssl.c
index 9a29ed650b57988b8d8af26066ec91b74f5da9e1..7427f34ddd4c49f3c7fdf066b5d2eee3779afa7e 100644 (file)
@@ -1,5 +1,6 @@
 /* SSL support via OpenSSL library.
-   Copyright (C) 2000-2006 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
+   Software Foundation, Inc.
    Originally contributed by Christian Fraenkel.
 
 This file is part of GNU Wget.
@@ -158,7 +159,7 @@ key_type_to_ssl_type (enum keyfile_type type)
 bool
 ssl_init ()
 {
-  const SSL_METHOD *meth;
+  SSL_METHOD *meth;
 
   if (ssl_ctx)
     /* The SSL has already been initialized. */
@@ -356,7 +357,7 @@ openssl_close (int fd, void *arg)
   xfree_null (ctx->last_error);
   xfree (ctx);
 
-#ifdef WINDOWS
+#if defined(WINDOWS) || defined(MSDOS)
   closesocket (fd);
 #else
   close (fd);