summaryrefslogtreecommitdiff
path: root/gio/gdummytlsbackend.c
Commit message (Collapse)AuthorAgeFilesLines
* gio: Add SPDX license headers automaticallyPhilip Withnall2022-05-181-0/+2
| | | | | | | | | | | | | | Add SPDX license (but not copyright) headers to all files which follow a certain pattern in their existing non-machine-readable header comment. This commit was entirely generated using the command: ``` git ls-files gio/*.[ch] | xargs perl -0777 -pi -e 's/\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/\n \*\n \* SPDX-License-Identifier: LGPL-2.1-or-later\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/igs' ``` Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #1415
* gdummytlsconnection: Add missing overrides for ALPN propertiesPatrick Griffis2020-03-061-1/+5
|
* gio/: LGPLv2+ -> LGPLv2.1+Sébastien Wilmet2017-05-291-1/+1
| | | | | | | | | | | | | | | | | Sub-directories inside gio/ already processed in a previous commit: - fam/ - gdbus-2.0/ (which contains only codegen/) - gvdb/ - inotify/ - tests/ - win32/ - xdgmime/ Other sub-directories inside gio/: - completion/: no license headers - kqueue/: not LGPL, BSD-style license https://bugzilla.gnome.org/show_bug.cgi?id=776504
* Drop trailing semi-colon from G_DEFINE_ macroEmmanuele Bassi2017-04-101-7/+7
| | | | | | | | It's unnecessary, and only adds visual noise; we have been fairly inconsistent in the past, but the semi-colon-less version clearly dominates in the code base. https://bugzilla.gnome.org/show_bug.cgi?id=669355
* gio: Add DTLS interfacesPhilip Withnall2016-01-181-0/+109
| | | | | | | | | | | | | | Add a new GDtlsConnection interface, plus derived GDtlsClientConnection and GDtlsServerConnection interfaces, for implementing Datagram TLS support in glib-networking. A GDtlsConnection is a GDatagramBased, so may be used as a normal datagram socket, wrapping all datagrams from a base GDatagramBased in DTLS segments. Test cases are included in the implementation in glib-networking. https://bugzilla.gnome.org/show_bug.cgi?id=752240
* gio: fix a leftover GSimpleAsyncResult usageDan Winship2015-08-071-1/+0
| | | | And remove remaining unnecessary gsimpleasyncresult.h includes
* gio: add a missing property to GDummyTlsConnectionDan Winship2014-05-031-0/+2
| | | | | | | | GDummyTlsConnection didn't implement the "interaction" property, meaning you'd get warnings if you tried to set it while creating a GTlsConnection when using the dummy backend. (Of course, trying to create the GTlsConnection will fail anyway, but it ought to fail without hitting any g_warnings.)
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
|
* GDummyTlsBackend: cache the GDummyTlsDatabaseDan Winship2013-11-171-3/+26
| | | | | The default GTlsDatabase is supposed to be a singleton (and libsoup has tests that will fail if it's not).
* Revert "gtlscertificate: Add certificate-bytes and private-key-bytes props"Stef Walter2012-08-211-4/+0
| | | | | | | | | | | | | * In order to add contstruct properties to an abstract base calls, and retain ABI stability, the base class must add a default implementation of those properties. * We cannot add a default implementation of certificate-bytes or private-key-bytes since certificate and private-key properties are writable on construct-only. This reverts commit 541c985869fe9f2c0a858c0a91b4eb60f99d19f0. https://bugzilla.gnome.org/show_bug.cgi?id=682081
* gtlscertificate: Add certificate-bytes and private-key-bytes propsStef Walter2012-08-061-0/+4
| | | | | | | * These properties contain the same data as certificate and private-key, but as GBytes https://bugzilla.gnome.org/show_bug.cgi?id=681319
* GTlsDatabase and related objectsStef Walter2011-08-041-1/+104
| | | | | | | | | | | The database is an abstract object implemented by the various TLS backends, which is used by GTlsConnection to lookup certificates and keys, as well as verify certificate chains. Also add GTlsInteraction, which can be used to prompt the user for a password or PIN (used with the database). https://bugzilla.gnome.org/show_bug.cgi?id=636572
* [GDummyTLS] Add missing properties and namespaceNicolas Dufresne2011-01-051-28/+34
| | | | | | | Add missing properties in the GDummyTlsConnection class. Also add namespaces to property enumerations to avoid conflicts between classes. Reviewed-by: Dan Winship <danw@gnome.org>
* Add missing property to GDummyTlsCertificateDan Winship2010-12-101-1/+3
|
* add G_TLS_ERROR_UNAVAILABLEDan Winship2010-12-071-2/+2
|
* Add GTlsConnection:use-system-certdbDan Winship2010-12-071-1/+2
| | | | | This can be set FALSE if you don't want to validate certificates against the system database.
* Add initial TLS (SSL) support to gioDan Winship2010-11-261-0/+274
This adds an extension point for TLS connections to gio, with a gnutls-based implementation in glib-networking. Full TLS support is still a work in progress; the current API is missing some features, and parts of it may still be changed before 2.28. https://bugzilla.gnome.org/show_bug.cgi?id=588189