diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2014-04-29 16:39:25 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2014-04-29 16:39:25 +0000 |
commit | 257313605554432bc618ac569c6ac315e5d1e7f8 (patch) | |
tree | 4d2663c5e26854f31555ba9dc20f7027e1bb6e54 /cups/tls.c | |
parent | c52d341f7e2d5fb50f3d4f81bb4f39e9cb118dec (diff) | |
download | cups-257313605554432bc618ac569c6ac315e5d1e7f8.tar.gz |
Move the deck chairs a bit so that the TLS stuff is separated from the HTTP
stuff.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11841 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/tls.c')
-rw-r--r-- | cups/tls.c | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/cups/tls.c b/cups/tls.c new file mode 100644 index 000000000..1a0b00fa4 --- /dev/null +++ b/cups/tls.c @@ -0,0 +1,57 @@ +/* + * "$Id$" + * + * TLS routines for CUPS. + * + * Copyright 2007-2014 by Apple Inc. + * Copyright 1997-2007 by Easy Software Products, all rights reserved. + * + * This file contains Kerberos support code, copyright 2006 by + * Jelmer Vernooij. + * + * These coded instructions, statements, and computer programs are the + * property of Apple Inc. and are protected by Federal copyright + * law. Distribution and use rights are outlined in the file "LICENSE.txt" + * which should have been included with this file. If this file is + * file is missing or damaged, see the license at "http://www.cups.org/". + * + * This file is subject to the Apple OS-Developed Software exception. + */ + +/* + * Include necessary headers... + */ + +#include "cups-private.h" +#include <fcntl.h> +#include <math.h> +#ifdef WIN32 +# include <tchar.h> +#else +# include <signal.h> +# include <sys/time.h> +# include <sys/resource.h> +#endif /* WIN32 */ +#ifdef HAVE_POLL +# include <poll.h> +#endif /* HAVE_POLL */ + + +/* + * Local functions... + */ + +#ifdef HAVE_SSL +# ifdef HAVE_GNUTLS +# include "tls-gnutls.c" +# elif defined(HAVE_CDSASSL) +# include "tls-darwin.c" +# else +# include "tls-sspi.c" +# endif /* HAVE_GNUTLS */ +#endif /* HAVE_SSL */ + + +/* + * End of "$Id$". + */ |