[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 17/173: darwinssl: fix iOS build
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 17/173: darwinssl: fix iOS build |
Date: |
Fri, 24 Feb 2017 14:00:39 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.
commit 8db3afe16c0916ea5acf6aed6e7cf02f06cc8677
Author: Chris Araman <address@hidden>
AuthorDate: Thu Dec 22 18:27:17 2016 -0800
darwinssl: fix iOS build
Reviewed-by: Nick Zitzmann
Fixes #1172
---
lib/vtls/darwinssl.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c
index a43e39125..2146b562d 100644
--- a/lib/vtls/darwinssl.c
+++ b/lib/vtls/darwinssl.c
@@ -936,7 +936,11 @@ static OSStatus CopyIdentityWithLabel(char *label,
(SecIdentityRef) CFArrayGetValueAtIndex(keys_list, i);
err = SecIdentityCopyCertificate(*out_cert_and_key, &cert);
if(err == noErr) {
+#if CURL_BUILD_IOS
+ common_name = SecCertificateCopySubjectSummary(cert);
+#else // CURL_BUILD_MAC_10_7
SecCertificateCopyCommonName(cert, &common_name);
+#endif
if(CFStringCompare(common_name, label_cf, 0) == kCFCompareEqualTo) {
CFRelease(cert);
CFRelease(common_name);
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 02/173: openssl-random: check return code when asking for random, (continued)
- [GNUnet-SVN] [gnurl] 02/173: openssl-random: check return code when asking for random, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 18/173: darwinssl: fix CFArrayRef leak, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 07/173: ftp-gss: check for init before use, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 11/173: formdata: use NULL, not 0, when returning pointers, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 10/173: ftp: failure to resolve proxy should return that error code, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 14/173: vtls: s/SSLEAY/OPENSSL, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 12/173: cmdline-opts/page-footer: add three more exit codes, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 04/173: bump: toward next release, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 06/173: build-wolfssl: Sync config with wolfSSL 3.10, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 03/173: http: remove "Curl_http_done: called premature" message, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 17/173: darwinssl: fix iOS build,
gnunet <=
- [GNUnet-SVN] [gnurl] 23/173: page-footer: error 36 is protocol agnostic!, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 05/173: cyassl: use time_t instead of long for timeout, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 16/173: curl: remove superfluous include file, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 08/173: test1282: verify the ftp-gss check, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 24/173: content_encoding: change return code on a failure, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 27/173: darwinssl: --insecure overrides --cacert if both settings are in use, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 32/173: docs/page-header: mention how to disable the progress meter, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 29/173: CIPHERS.md: document GSKit ciphers, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 15/173: RELEASE-NOTES: synced with a7b38c9dc98481e, gnunet, 2017/02/24
- [GNUnet-SVN] [gnurl] 33/173: docs/silent: mention --show-error in --silent description, gnunet, 2017/02/24