ObjFW  Check-in [dd853203d3]

Overview
Comment:Define GNUTLS_SAFE_PADDING_CHECK 0 if it's missing
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: dd853203d3b3313508e87b854d667ce539258fcef83a2b2da43fb5ab28fb69b7
User & Date: js on 2022-01-26 16:52:31
Other Links: manifest | tags
Context
2022-01-26
18:19
GitHub Actions: Disable TLS for 32 bit Ubuntu check-in: 4aa544351d user: js tags: trunk
16:52
Define GNUTLS_SAFE_PADDING_CHECK 0 if it's missing check-in: dd853203d3 user: js tags: trunk
2022-01-22
17:35
GitHub Actions: Install 32 bit libs where needed check-in: 212dbf6dcf user: js tags: trunk
Changes

Modified src/tls/OFGnuTLSTLSStream.m from [72367f1922] to [e2b641b948].

25
26
27
28
29
30
31





32
33
34
35
36
37
38
#import "OFNotOpenException.h"
#import "OFReadFailedException.h"
#import "OFTLSHandshakeFailedException.h"
#import "OFWriteFailedException.h"

int _ObjFWTLS_reference;
static gnutls_certificate_credentials_t systemTrustCreds;






@implementation OFGnuTLSTLSStream
static ssize_t
readFunc(gnutls_transport_ptr_t transport, void *buffer, size_t length)
{
	OFGnuTLSTLSStream *stream = (OFGnuTLSTLSStream *)transport;








>
>
>
>
>







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#import "OFNotOpenException.h"
#import "OFReadFailedException.h"
#import "OFTLSHandshakeFailedException.h"
#import "OFWriteFailedException.h"

int _ObjFWTLS_reference;
static gnutls_certificate_credentials_t systemTrustCreds;

#ifndef GNUTLS_SAFE_PADDING_CHECK
/* Some older versions don't have it. */
# define GNUTLS_SAFE_PADDING_CHECK 0
#endif

@implementation OFGnuTLSTLSStream
static ssize_t
readFunc(gnutls_transport_ptr_t transport, void *buffer, size_t length)
{
	OFGnuTLSTLSStream *stream = (OFGnuTLSTLSStream *)transport;