Fix type mismatch with GCC
This commit is contained in:
parent
35258cb6c3
commit
86ced1769a
10 changed files with 23 additions and 23 deletions
|
@ -1,4 +1,4 @@
|
||||||
AC_INIT(ObjOpenSSL, 0.1, js@heap.zone)
|
AC_INIT(ObjOpenSSL, 0.1, js@nil.im)
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR(src)
|
AC_CONFIG_SRCDIR(src)
|
||||||
AC_CONFIG_AUX_DIR(build-aux)
|
AC_CONFIG_AUX_DIR(build-aux)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, Jonathan Schleifer <js@heap.zone>
|
* Copyright (c) 2011, Jonathan Schleifer <js@nil.im>
|
||||||
*
|
*
|
||||||
* https://heap.zone/git/objopenssl.git
|
* https://git.nil.im/objopenssl.git
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2016, Jonathan Schleifer <js@heap.zone>
|
* Copyright (c) 2016, Jonathan Schleifer <js@nil.im>
|
||||||
*
|
*
|
||||||
* https://heap.zone/git/objopenssl.git
|
* https://git.nil.im/objopenssl.git
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2016, Jonathan Schleifer <js@heap.zone>
|
* Copyright (c) 2016, Jonathan Schleifer <js@nil.im>
|
||||||
*
|
*
|
||||||
* https://heap.zone/git/objopenssl.git
|
* https://git.nil.im/objopenssl.git
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
||||||
* Copyright (c) 2013, Jonathan Schleifer <js@heap.zone>
|
* Copyright (c) 2013, Jonathan Schleifer <js@nil.im>
|
||||||
*
|
*
|
||||||
* https://heap.zone/git/objopenssl.git
|
* https://git.nil.im/objopenssl.git
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
||||||
* Copyright (c) 2012, 2013, 2016, Jonathan Schleifer <js@heap.zone>
|
* Copyright (c) 2012, 2013, 2016, Jonathan Schleifer <js@nil.im>
|
||||||
*
|
*
|
||||||
* https://heap.zone/git/objopenssl.git
|
* https://git.nil.im/objopenssl.git
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2013, 2015, Jonathan Schleifer <js@heap.zone>
|
* Copyright (c) 2011, 2013, 2015, Jonathan Schleifer <js@nil.im>
|
||||||
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
||||||
*
|
*
|
||||||
* https://heap.zone/git/objopenssl.git
|
* https://git.nil.im/objopenssl.git
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018
|
* Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020
|
||||||
* Jonathan Schleifer <js@heap.zone>
|
* Jonathan Schleifer <js@nil.im>
|
||||||
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
||||||
* Copyright (c) 2011, Jos Kuijpers <jos@kuijpersvof.nl>
|
* Copyright (c) 2011, Jos Kuijpers <jos@kuijpersvof.nl>
|
||||||
*
|
*
|
||||||
* https://heap.zone/git/objopenssl.git
|
* https://git.nil.im/objopenssl.git
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
@ -144,14 +144,14 @@ lockingCallback(int mode, int n, const char *file, int line)
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)socket: (OF_KINDOF(OFTCPSocket *))sock
|
- (void)socket: (OFTCPSocket *)sock
|
||||||
didConnectToHost: (OFString *)host
|
didConnectToHost: (OFString *)host
|
||||||
port: (uint16_t)port
|
port: (uint16_t)port
|
||||||
exception: (id)exception
|
exception: (id)exception
|
||||||
{
|
{
|
||||||
if (exception == nil) {
|
if (exception == nil) {
|
||||||
@try {
|
@try {
|
||||||
[sock SSL_startTLSWithExpectedHost: _host
|
[(SSLSocket *)sock SSL_startTLSWithExpectedHost: _host
|
||||||
port: _port];
|
port: _port];
|
||||||
} @catch (id e) {
|
} @catch (id e) {
|
||||||
exception = e;
|
exception = e;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
||||||
* Copyright (c) 2013, 2016, Jonathan Schleifer <js@heap.zone>
|
* Copyright (c) 2013, 2016, Jonathan Schleifer <js@nil.im>
|
||||||
*
|
*
|
||||||
* https://heap.zone/git/objopenssl.git
|
* https://git.nil.im/objopenssl.git
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
* Copyright (c) 2011, Florian Zeitz <florob@babelmonkeys.de>
|
||||||
* Copyright (c) 2011, 2012, 2013, 2015, Jonathan Schleifer <js@heap.zone>
|
* Copyright (c) 2011, 2012, 2013, 2015, Jonathan Schleifer <js@nil.im>
|
||||||
*
|
*
|
||||||
* https://heap.zone/git/objopenssl.git
|
* https://git.nil.im/objopenssl.git
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|
Reference in a new issue