source: trunk/third/libsoup/libsoup/soup-nossl.c @ 21108

Revision 21108, 1.0 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21107, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/*
3 * soup-nossl.c
4 *
5 * Copyright (C) 2003, Ximian, Inc.
6 */
7
8#ifdef HAVE_CONFIG_H
9#include <config.h>
10#endif
11
12#include "soup-ssl.h"
13#include "soup-misc.h"
14
15#ifndef HAVE_SSL
16
17gboolean soup_ssl_supported = FALSE;
18
19GIOChannel *
20soup_ssl_wrap_iochannel (GIOChannel *sock, SoupSSLType type,
21                         const char *hostname, gpointer cred_pointer)
22{
23        return NULL;
24}
25
26gpointer
27soup_ssl_get_client_credentials (const char *ca_file)
28{
29        return NULL;
30}
31
32void
33soup_ssl_free_client_credentials (gpointer client_creds)
34{
35        ;
36}
37
38gpointer
39soup_ssl_get_server_credentials (const char *cert_file, const char *key_file)
40{
41        return NULL;
42}
43
44void
45soup_ssl_free_server_credentials (gpointer server_creds)
46{
47        ;
48}
49
50#endif /* ! HAVE_SSL */
51
52/**
53 * soup_ssl_error_quark:
54 *
55 * Return value: The quark used as %SOUP_SSL_ERROR
56 **/
57GQuark
58soup_ssl_error_quark (void)
59{
60        static GQuark error;
61        if (!error)
62                error = g_quark_from_static_string ("soup_ssl_error_quark");
63        return error;
64}
Note: See TracBrowser for help on using the repository browser.