ObjOpenSSL  Check-in [f009f4af94]

Overview
Comment:configure: Don't use -Wcast-align.

The OpenSSL headers break -Wcast-align.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f009f4af94adf4019aa1fc5a9c15e854ac08380f9bffdc75e3b0273ff34428ee
User & Date: js on 2012-11-21 22:26:06
Other Links: manifest | tags
Context
2012-12-13
20:55
Set of_tls_socket_class. check-in: 1b97015301 user: js tags: trunk
2012-11-21
22:26
configure: Don't use -Wcast-align. check-in: f009f4af94 user: js tags: trunk
2012-11-08
13:20
Add a proper build system. check-in: 889e63ed8a user: js tags: trunk
Changes

Modified configure.ac from [479c202821] to [f3168bfbe7].

40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
	AC_MSG_ERROR(No libcrypto found! Please install OpenSSL!)
])
AC_CHECK_LIB(z, main, [LIBS="$LIBS -lz"], [
	AC_MSG_ERROR(No libz found! Please install zlib!)
])

AS_IF([test x"$GOBJC" = x"yes"], [
	OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wcast-align -Wpointer-arith"
	dnl We need -Wno-deprecated-declarations as OpenSSL is deprecated on
	dnl OS X.
	OBJCFLAGS="$OBJCFLAGS -Wno-deprecated-declarations -Werror"
])

BUILDSYS_INIT
BUILDSYS_TOUCH_DEPS







|







40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
	AC_MSG_ERROR(No libcrypto found! Please install OpenSSL!)
])
AC_CHECK_LIB(z, main, [LIBS="$LIBS -lz"], [
	AC_MSG_ERROR(No libz found! Please install zlib!)
])

AS_IF([test x"$GOBJC" = x"yes"], [
	OBJCFLAGS="$OBJCFLAGS -Wwrite-strings -Wpointer-arith"
	dnl We need -Wno-deprecated-declarations as OpenSSL is deprecated on
	dnl OS X.
	OBJCFLAGS="$OBJCFLAGS -Wno-deprecated-declarations -Werror"
])

BUILDSYS_INIT
BUILDSYS_TOUCH_DEPS

Modified src/SSLInvalidCertificateException.m from [d4b845c7e6] to [aae2bdffb1].

22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

#import "SSLInvalidCertificateException.h"

#import <ObjFW/OFNotImplementedException.h>

@implementation SSLInvalidCertificateException
+ exceptionWithClass: (Class)class_
	      reason: (OFString*)reason_;
{
	return [[[self alloc] initWithClass: class_
				     reason: reason_] autorelease];
}

- initWithClass: (Class)class_
{







|







22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

#import "SSLInvalidCertificateException.h"

#import <ObjFW/OFNotImplementedException.h>

@implementation SSLInvalidCertificateException
+ exceptionWithClass: (Class)class_
	      reason: (OFString*)reason_
{
	return [[[self alloc] initWithClass: class_
				     reason: reason_] autorelease];
}

- initWithClass: (Class)class_
{