platform/upstream/gnutls.git
6 years agoFix CVE-2017-6891 in minitasn1 code 21/134421/1 accepted/tizen_4.0_unified accepted/tizen_5.0_unified accepted/tizen_unified tizen tizen_4.0 tizen_4.0_tv tizen_5.0 accepted/tizen/4.0/unified/20170816.013930 accepted/tizen/4.0/unified/20170828.222555 accepted/tizen/5.0/unified/20181102.024719 accepted/tizen/unified/20170620.174003 submit/tizen/20170616.142532 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100005 submit/tizen_5.0/20181101.000006 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
Rafal Krypa [Fri, 16 Jun 2017 09:15:19 +0000 (11:15 +0200)]
Fix CVE-2017-6891 in minitasn1 code

Based on upstream libtasn1 fix:
http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commitdiff;h=5520704d075802df25ce4ffccc010ba1641bd484

Change-Id: I2c7742b627f9467f68643682e9287cf852a5b2a3
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
6 years agopackaging: version 3.3.27 28/133328/1 accepted/tizen/unified/20170612.171638 submit/tizen/20170612.093714 submit/tizen/20170612.132119
Rafal Krypa [Fri, 9 Jun 2017 18:55:04 +0000 (20:55 +0200)]
packaging: version 3.3.27

Change-Id: I479b07402fca0acd3a5f9f1c9e421c00f7bd38e4

6 years agopackaging: don't package danetool, it's no longer built 27/133327/1
Rafal Krypa [Fri, 9 Jun 2017 19:02:38 +0000 (21:02 +0200)]
packaging: don't package danetool, it's no longer built

Upstream change: danetool: only compile when dane is enabled.
Dane is not present on Tizen.

Change-Id: Iaea7097caa0c7b189ab85004f8acc27706a58866

6 years ago[BACKPORT] x509: optimize subject alternative name access 26/133326/1
Nikos Mavrogiannopoulos [Thu, 2 Feb 2017 21:59:43 +0000 (22:59 +0100)]
[BACKPORT] x509: optimize subject alternative name access

That reads SAN and IAN early on import, significantly reducing
the running time of functions which iterate over the alternative
names of a certificate, e.g., gnutls_x509_crt_check_hostname().

Relates #165

Re-apply this patch for Tizen on top of upstream version 3.3.27.
Previously this patch was backported on top of 3.3.5.

Change-Id: I5987a8b4e6f216609957dc8cea952d77498f1910
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
6 years agoMerge branch 'upstream' into tizen 25/133325/1
Rafal Krypa [Fri, 9 Jun 2017 19:31:02 +0000 (21:31 +0200)]
Merge branch 'upstream' into tizen

Change-Id: I823593e18fb8e8eb9f6cd04cb5518a13563cd521

6 years agoImported Upstream version 3.3.27 24/133324/1 upstream upstream/3.3.27
Rafal Krypa [Fri, 9 Jun 2017 18:25:57 +0000 (20:25 +0200)]
Imported Upstream version 3.3.27

Change-Id: I798ef6aba691d3e449e9bb69810792a02e0179b3

6 years agoRevert "Imported Upstream version 3.4.11" 23/133323/1
Rafal Krypa [Fri, 9 Jun 2017 18:24:22 +0000 (20:24 +0200)]
Revert "Imported Upstream version 3.4.11"

This reverts commit 1bd29a24229d1e3822fc47fdd4aac3c2ab9b8b85.

Change-Id: I18b7368628bbac16976cde44474f217161a50a0b

7 years agoAdd a licence file to /usr/share/licenses 60/119360/3
Lukasz Pawelczyk [Thu, 16 Mar 2017 12:05:17 +0000 (13:05 +0100)]
Add a licence file to /usr/share/licenses

Change-Id: I79cfea27bc43620f24eff1ea18f4ab200793a4ea

7 years ago[Upstream] x509: optimize subject alternative name access 94/117894/3
Saurav Babu [Tue, 7 Mar 2017 12:34:33 +0000 (18:04 +0530)]
[Upstream] x509: optimize subject alternative name access

That reads SAN and IAN early on import, significantly reducing
the running time of functions which iterate over the alternative
names of a certificate, e.g., gnutls_x509_crt_check_hostname().

https://gitlab.com/gnutls/gnutls/issues/165
gnutls_x509_crt_check_hostname2() is slow for certificates with many
subject alternative names

gnutls_x509_crt_check_hostname2() can be computationally expensive for
with certificates that contain a larger amount of subject alternative
names. E.g. the first certificate for polytimer.rocks has 944 entries.

gnutls_x509_crt_check_hostname2() repetitively calls
gnutls_x509_crt_get_subject_alt_name() until it finds an alternative
name that matches the specified hostname. In case of the certificate to
polytimer.rocks, this match occurs on the 648th try. It takes around 30
secs to find this match in case of Tizen Phone.

This patch is partially added in Tizen as base code in Tizen is
different from that of Upstream

Change-Id: Iaba3e4f251b3bc2860c125e9ece06f24acae5c08
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoAdd -fgnu89-inline flag to fix "multiple definition" errors. 33/104933/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20161220.190707 accepted/tizen/ivi/20161219.225011 accepted/tizen/mobile/20161219.224917 accepted/tizen/tv/20161219.224934 accepted/tizen/unified/20170309.035630 accepted/tizen/wearable/20161219.224952 submit/tizen/20161219.052310 submit/tizen_unified/20170308.100412 tizen_4.0.m1_release
Dongsun Lee [Thu, 15 Dec 2016 01:04:47 +0000 (10:04 +0900)]
Add -fgnu89-inline flag to fix "multiple definition" errors.

Change-Id: I1b6a85d6a33c23e0c6607e8024ecf8a35a6c63cd
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
7 years agoadd BuildRequires for bison to fix intermittent build break 28/103728/1
Dongsun Lee [Fri, 9 Dec 2016 08:09:11 +0000 (17:09 +0900)]
add BuildRequires for bison to fix intermittent build break

Change-Id: Ibe4df072fac4d3206b2a0aadb333a2b73203d70a
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
7 years agoApply disable-doc to reduce build time and disable buildiing p11-lit 58/88958/5 accepted/tizen/3.0/common/20161114.110617 accepted/tizen/3.0/ivi/20161011.044136 accepted/tizen/3.0/mobile/20161015.033201 accepted/tizen/3.0/tv/20161016.004647 accepted/tizen/3.0/wearable/20161015.082805 accepted/tizen/common/20160926.154139 accepted/tizen/ivi/20160927.020906 accepted/tizen/mobile/20160927.020850 accepted/tizen/tv/20160927.020710 accepted/tizen/wearable/20160927.020830 submit/tizen/20160926.005548 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000002 submit/tizen_3.0_wearable/20161015.000002
Dongsun Lee [Wed, 21 Sep 2016 07:46:29 +0000 (16:46 +0900)]
Apply disable-doc to reduce build time and disable buildiing p11-lit

- apply --disable-doc
- apply --without-p11-kit

Change-Id: Ia4d57619d37c1da57ca27739f4b16441f799dd26
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
7 years agoRevert "Merge branch 'upstream' into tizen" 57/88957/1
Dongsun Lee [Wed, 21 Sep 2016 06:38:55 +0000 (15:38 +0900)]
Revert "Merge branch 'upstream' into tizen"

- It was reverted due to the license issue of nettle 3.2(LGPL3.0)

This reverts commit e65cbd2e89245c5609d30e042f05b3ee693eec49, reversing
changes made to cb9b5dead12d04095da0e0416d22b7b5ab61ffbd.

Change-Id: I6c9332698fc1ed4377f137f02fccadd438e69ff7
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
7 years ago[Upstream]: Fix HANDLE_LEAK and memory leak issues. 04/84804/1
Sumit Aggarwal [Mon, 22 Aug 2016 11:33:44 +0000 (17:03 +0530)]
[Upstream]: Fix HANDLE_LEAK and memory leak issues.

link: https://gitlab.com/gnutls/gnutls/commit/39cdaed454b12c7be9881d550ec2ea89c649c707
Signed-off-by: Sumit Aggarwal <aggarwal.s@samsung.com>
Change-Id: I35651c359c3c6ef25cc74adacd545fa1faca1c09

7 years agoMerge branch 'upstream' into tizen 89/73389/1 accepted/tizen/common/20160614.143705 accepted/tizen/ivi/20160614.041244 accepted/tizen/mobile/20160614.041224 accepted/tizen/tv/20160614.041237 accepted/tizen/wearable/20160614.041229 submit/tizen/20160613.080449
sangsu [Wed, 8 Jun 2016 01:37:43 +0000 (10:37 +0900)]
Merge branch 'upstream' into tizen

Change-Id: Ibec5317981dc6c41a1708da7db83255010d57438
Signed-off-by: sangsu <sangsu.choi@samsung.com>
7 years agoImported Upstream version 3.4.11 88/73388/1 submit/upstream/20160613.071414 upstream/3.4.11
sangsu [Wed, 8 Jun 2016 01:28:40 +0000 (10:28 +0900)]
Imported Upstream version 3.4.11

Change-Id: I27697380abe4d8ad82d6b77153db65afd9dd3771
Signed-off-by: sangsu <sangsu.choi@samsung.com>
7 years agoremove p11-kit in gnutls.spec file 16/69616/2 accepted/tizen/common/20160517.173836 accepted/tizen/ivi/20160517.032110 accepted/tizen/mobile/20160517.032036 accepted/tizen/tv/20160517.032051 accepted/tizen/wearable/20160517.032142 submit/tizen/20160516.071818
sangsu [Mon, 16 May 2016 06:41:41 +0000 (15:41 +0900)]
remove p11-kit in gnutls.spec file

Change-Id: I015f92f4102a54712ff9d94976ccdddcf264a119
Signed-off-by: sangsu <sangsu.choi@samsung.com>
8 years agoRemove COPYING file 88/55988/2
taesub.kim [Thu, 31 Dec 2015 00:56:09 +0000 (09:56 +0900)]
Remove COPYING file

Change-Id: Ib5ac150e1d00c1fd359e766fe14cc2174d0995d7
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
8 years agoTo modify Makefile.am to build only lib folder for removing GPL features 05/55105/2
taesub.kim [Tue, 22 Dec 2015 02:48:30 +0000 (11:48 +0900)]
To modify Makefile.am to build only lib folder for removing GPL features

http://165.213.149.170/gerrit/#/c/68706/
http://165.213.149.170/gerrit/#/c/76084/

1. Fix build error: %license to %doc
2. Exclude extra directory for removing GPL features.
3. Change the license from LGPL-3.0+ to LGPL-2.1+ because of using gmplib (version 4.2.1)

Change-Id: If27996bdf18546c94145cd61f7dafaddaa90c01e
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
9 years agopackaging: bump to version 3.3.5 sandbox/kevinthierry/bump-3.3.5 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/common/20150116.082310 accepted/tizen/ivi/20150117.065504 accepted/tizen/ivi/20160218.024859 accepted/tizen/mobile/20150304.131058 accepted/tizen/tv/20150324.014510 accepted/tizen/wearable/20150129.005801 submit/tizen_common/20150114.153148 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20150116.222222 submit/tizen_ivi/20150116.444444 submit/tizen_ivi/20150116.666666 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000005 submit/tizen_mobile/20150129.000000 submit/tizen_mobile/20150213.000000 submit/tizen_mobile/20150223.000000 submit/tizen_mobile/20150302.000000 submit/tizen_tv/20150130.000000 submit/tizen_tv/20150130.050505 submit/tizen_tv/20150320.000001 submit/tizen_wearable/20150127.000001 submit/tizen_wearable/20150128.000000 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
José Bollo [Wed, 3 Dec 2014 09:32:33 +0000 (10:32 +0100)]
packaging: bump to version 3.3.5

[kevin.thierry: add build dependency to makeinfo, packaging adaptation,
spec file clean up.]

Change-Id: If3482b1fd90e594e85d665f6904b6cc1916571a7
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
9 years agoAdd missing "gnutls-utils" provides for gnutls package.
Jacek Pielaszkiewicz [Tue, 4 Feb 2014 10:51:13 +0000 (11:51 +0100)]
Add missing "gnutls-utils" provides for gnutls package.

Change-Id: Ibaf346ae485c7d777a78db173368a960def3fcdb
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
9 years agoUpdate to gnutls 3.0.30 from 3.0.21 to address CVE-2013-1619.
Ryan Ware [Wed, 14 Aug 2013 00:31:06 +0000 (17:31 -0700)]
Update to gnutls 3.0.30 from 3.0.21 to address CVE-2013-1619.

9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Fri, 28 Jun 2013 20:55:27 +0000 (23:55 +0300)]
resetting manifest requested domain to floor

9 years agoFixed package group
Anas Nashif [Mon, 18 Mar 2013 19:48:52 +0000 (12:48 -0700)]
Fixed package group

9 years agoFixed package group
Anas Nashif [Mon, 18 Mar 2013 16:31:48 +0000 (09:31 -0700)]
Fixed package group

9 years agoadd packaging
Anas Nashif [Thu, 8 Nov 2012 00:09:29 +0000 (16:09 -0800)]
add packaging

9 years agoremove patches
Anas Nashif [Wed, 7 Nov 2012 23:56:58 +0000 (15:56 -0800)]
remove patches

9 years agoremove patches
Anas Nashif [Wed, 7 Nov 2012 23:56:16 +0000 (15:56 -0800)]
remove patches

9 years agoremove patches
Anas Nashif [Wed, 7 Nov 2012 23:14:16 +0000 (15:14 -0800)]
remove patches

9 years agoautomake 1.12
Anas Nashif [Wed, 7 Nov 2012 23:13:55 +0000 (15:13 -0800)]
automake 1.12

9 years agoadd packaging
Anas Nashif [Wed, 7 Nov 2012 23:04:39 +0000 (15:04 -0800)]
add packaging

9 years agoadd packaging
Anas Nashif [Wed, 7 Nov 2012 22:13:55 +0000 (14:13 -0800)]
add packaging

9 years agoImported Upstream version 3.3.5 sandbox/jobol/upstream upstream/3.3.5
José Bollo [Wed, 12 Nov 2014 13:58:42 +0000 (14:58 +0100)]
Imported Upstream version 3.3.5

10 years agoImported Upstream version 3.0.30 upstream/3.0.30
Ryan Ware [Wed, 14 Aug 2013 00:13:28 +0000 (17:13 -0700)]
Imported Upstream version 3.0.30

11 years agoImported Upstream version 3.0.21 upstream/3.0.21
Anas Nashif [Wed, 7 Nov 2012 22:13:31 +0000 (14:13 -0800)]
Imported Upstream version 3.0.21