]> git.sesse.net Git - vlc/log
vlc
9 years agoinput: waiting and flushing states should be mutually exclusive
Felix Abecassis [Tue, 2 Sep 2014 09:00:23 +0000 (11:00 +0200)]
input: waiting and flushing states should be mutually exclusive

A crash could occur in the following situation:
1) A video decoder is created and starts waiting for the first picture:
   b_waiting = true, b_first = true

2) The first picture is received but the decoder is still in waiting mode:
   b_waiting = true, b_first = false

3) A second picture is received, the decoder is now waiting in
DecoderWaitUnblock().

4) From the input thread, an EOF event is received, EsOutChangePosition is
called and sets the decoder in flushing mode.

5) The decoder thread wakes up and exits DecoderWaitUnblock because
b_flushing is true. However this triggers the assertion in
DecoderDecodeVideo since we have b_waiting && !b_first.

Fix #11892, #12041

9 years agoh264: kill a warning in nal_decode by making src pointer const
Felix Abecassis [Tue, 2 Sep 2014 09:05:37 +0000 (11:05 +0200)]
h264: kill a warning in nal_decode by making src pointer const

9 years agoh264: add an enum for SEI messages
Felix Abecassis [Mon, 1 Sep 2014 12:05:24 +0000 (14:05 +0200)]
h264: add an enum for SEI messages

9 years agoCOntribs: fix gnutls build on OSX
Jean-Baptiste Kempf [Tue, 2 Sep 2014 00:12:32 +0000 (02:12 +0200)]
COntribs: fix gnutls build on OSX

9 years agoios compilation script: add support for future Xcode releases
Felix Paul Kühne [Mon, 1 Sep 2014 21:34:59 +0000 (23:34 +0200)]
ios compilation script: add support for future Xcode releases

9 years agoOSS: remove volume/mute code (fixes #10408)
Rémi Denis-Courmont [Mon, 1 Sep 2014 20:39:18 +0000 (23:39 +0300)]
OSS: remove volume/mute code (fixes #10408)

9 years agovout: fix memory leaks
Hannes Domani [Mon, 1 Sep 2014 20:00:38 +0000 (23:00 +0300)]
vout: fix memory leaks

In combination with the previous patch all crashes (double free()) are solved.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoUpdate POTFILES
Rémi Denis-Courmont [Mon, 1 Sep 2014 20:05:45 +0000 (23:05 +0300)]
Update POTFILES

9 years agommal/vout: Fix memory leak
Julian Scheel [Fri, 29 Aug 2014 07:09:38 +0000 (09:09 +0200)]
mmal/vout: Fix memory leak

sys->pictures was allocated but not freed.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/vout: Remove bad locking
Julian Scheel [Fri, 29 Aug 2014 07:09:37 +0000 (09:09 +0200)]
mmal/vout: Remove bad locking

This removes some bad locking. In fact this lock could cause a deadlock on
shutdown as the lock is held by the main thread when shutting down and this
function might be called as a result of shutting the ports down.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/vout: Rework buffer handling
Julian Scheel [Fri, 29 Aug 2014 07:09:36 +0000 (09:09 +0200)]
mmal/vout: Rework buffer handling

This patch reflects the buffer handling improvements done in the mmal codec
module into the the mmal video output module.
A nice side effect of the restructuring is that less magic values need to be
defined as the required values can be computed dynamically now.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal/codec: Rework buffer handling
Julian Scheel [Fri, 29 Aug 2014 07:09:35 +0000 (09:09 +0200)]
mmal/codec: Rework buffer handling

This patch reduces the number of required pictures in the picture pool as well
as the number of required buffer headers on the mmal component. If
MMAL_ENCODING_OPAQUE is used as data format the number of buffers which have
to be provided to the components ports are very critical and there is a
relation between the configured number of buffers at the port and the actual
number of buffers which are available at a port at any time.
The previous approach was rather conservative and allocated a lot of extra
buffers to ensure that things are smooth all the time. This has the drawback
of wasting memory though. Especially when adding another mmal element
(deinterlace filter) it caused a situation where we run out of resources. This
new approach reduces the required resources so that another mmal component can
be added to the chain.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal: Move codec plugin into hw/mmal module
Julian Scheel [Fri, 29 Aug 2014 07:09:34 +0000 (09:09 +0200)]
mmal: Move codec plugin into hw/mmal module

The mmal codec plugin is built as a part of the mmal module now. This drops
the ability to en-/disable codec support independently from the vout, but in
fact currently there is no mmal implementation which wouldn't support both
modules, so it seems sane to build them together as this unclutters the
configure scripts a little.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agommal: Move video_output plugin into hw/mmal module
Julian Scheel [Fri, 29 Aug 2014 07:09:33 +0000 (09:09 +0200)]
mmal: Move video_output plugin into hw/mmal module

As the mmal modules will require some shared code in the future move them out
of the split directory structure into a hw/mmal subdirectory, like it
is handled with vdpau plugins already.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agogestures: cosmetic
Rémi Denis-Courmont [Mon, 1 Sep 2014 15:51:06 +0000 (18:51 +0300)]
gestures: cosmetic

9 years agogestures: avoid undefined negative shift
Rémi Denis-Courmont [Mon, 1 Sep 2014 15:50:38 +0000 (18:50 +0300)]
gestures: avoid undefined negative shift

9 years agomacosx: contacting an app using SBApplication can fail, be a bit more conservative...
Felix Paul Kühne [Sun, 31 Aug 2014 21:57:36 +0000 (23:57 +0200)]
macosx: contacting an app using SBApplication can fail, be a bit more conservative to prevent runtime exceptions

9 years agounimotion: fix warning
Felix Paul Kühne [Sun, 31 Aug 2014 21:50:13 +0000 (23:50 +0200)]
unimotion: fix warning

9 years agomacosx: fix mediainfo appearance on future OS X releases (close #12066)
Felix Paul Kühne [Sun, 31 Aug 2014 21:49:57 +0000 (23:49 +0200)]
macosx: fix mediainfo appearance on future OS X releases (close #12066)

9 years agoconfigure: read_only_relocs is unnecessary on 64-bit OS X
Sean McGovern [Sun, 31 Aug 2014 20:17:48 +0000 (16:17 -0400)]
configure: read_only_relocs is unnecessary on 64-bit OS X

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
9 years agowl/shm: initial unaccelerated RGB video output
Rémi Denis-Courmont [Sun, 31 Aug 2014 11:40:09 +0000 (14:40 +0300)]
wl/shm: initial unaccelerated RGB video output

9 years agomacosx: Use floating window level for effects and other panels
David Fuhrmann [Sun, 31 Aug 2014 18:51:36 +0000 (20:51 +0200)]
macosx: Use floating window level for effects and other panels

All black-syle panels should get the floating window level.
This is normal behaviour of panels and has the positive side effect
that the panel also stays in front while vout window reconfigurations.

This level is also used for the preferences window, as this is sort
of a modal window which needs to be closed (in order to get settings
saved).

close #12063

9 years agomacosx: video effects: simplify restoring video-filter and sub-source
David Fuhrmann [Sun, 31 Aug 2014 13:28:26 +0000 (15:28 +0200)]
macosx: video effects: simplify restoring video-filter and sub-source

9 years agomacosx: video effects: only set video splitters when needed
David Fuhrmann [Sun, 31 Aug 2014 13:16:57 +0000 (15:16 +0200)]
macosx: video effects: only set video splitters when needed

Avoids setting this variable multiple times, as each time vout
restart is requested. Also avoids unnecessary vout restarts at
start and when changing profiles.

refs #12063

9 years agomac codesign: improve signing script
David Fuhrmann [Sat, 30 Aug 2014 14:32:23 +0000 (16:32 +0200)]
mac codesign: improve signing script

- add signing of sparkles autoupdate tool
- directly fail on error
- fix bug preventing signing of VLC binary
- rework validation steps so that it validates frameworks and autoupdate
  tool separately, but then the complete bundle like gatekeeper (using
  --deep option)

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
9 years agovdpau/display: do not set background colour
Rémi Denis-Courmont [Sun, 31 Aug 2014 08:14:33 +0000 (11:14 +0300)]
vdpau/display: do not set background colour

This interferes with overlay-based outputs, and serves no useful
purpose for VLC since the video frames are always fully opaque.

9 years agooss: attempt to fix the build
Rémi Denis-Courmont [Sat, 30 Aug 2014 21:21:56 +0000 (00:21 +0300)]
oss: attempt to fix the build

9 years agowl_shell_surface: fix dead lock when destroying thread
Rémi Denis-Courmont [Sat, 30 Aug 2014 20:33:12 +0000 (23:33 +0300)]
wl_shell_surface: fix dead lock when destroying thread

9 years agodecomp: fix heap overflow and cleanup (fixes #12052)
Rémi Denis-Courmont [Sat, 30 Aug 2014 13:34:39 +0000 (16:34 +0300)]
decomp: fix heap overflow and cleanup (fixes #12052)

9 years agoconfigure: simplify header tests
Rémi Denis-Courmont [Sat, 30 Aug 2014 12:20:29 +0000 (15:20 +0300)]
configure: simplify header tests

Remove unused checks for locale.h, machine/parm.h, scsi/scsi.h,
sys/time.h, and sys/ioctl.h. Simplify checks for net/if.h (this has no
dependency) and sys/mounth.h (sys/param.h).

9 years agognutls: fix flawed logic
Rémi Denis-Courmont [Sat, 30 Aug 2014 09:50:04 +0000 (12:50 +0300)]
gnutls: fix flawed logic

9 years agoaout: robustify channel reordering
Rémi Denis-Courmont [Sat, 30 Aug 2014 08:56:54 +0000 (11:56 +0300)]
aout: robustify channel reordering

9 years agomac packaging: preserve symlinks while creating VLC.app
David Fuhrmann [Sat, 30 Aug 2014 09:46:12 +0000 (11:46 +0200)]
mac packaging: preserve symlinks while creating VLC.app

mac frameworks use symlinks for their internal structure. This
reduces size of delivered framework folders by a factor of 3.

Also correctly clean the BGHUDAppkit ressources folder. Info.plist
must remain for proper code signing.

9 years agocontrib: preserve symlinks while installing Growl and BGHUDAppkit frameworks
David Fuhrmann [Sat, 30 Aug 2014 09:44:40 +0000 (11:44 +0200)]
contrib: preserve symlinks while installing Growl and BGHUDAppkit frameworks

9 years agosecuretransport: fix compilation
David Fuhrmann [Sat, 30 Aug 2014 09:43:43 +0000 (11:43 +0200)]
securetransport: fix compilation

9 years agognutls: fix minimum version
Rémi Denis-Courmont [Sat, 30 Aug 2014 09:15:28 +0000 (12:15 +0300)]
gnutls: fix minimum version

9 years agomux: mp4: add fragmented mp4 muxer
Francois Cartegnie [Wed, 11 Jun 2014 17:06:36 +0000 (19:06 +0200)]
mux: mp4: add fragmented mp4 muxer

mp4stream tries to build stream with 1.5sec runs.
mp4frag aims files by creating a compatible index.

Might need for transcode tests (fragments are 1.5 sec only).
--sout-x264-keyint=30 --sout-avcodec-strict=-2

Streaming done using http, with fragment start used as iframes.

9 years agodemux: ts: don't try to decode and warn on scrambled PES
Francois Cartegnie [Fri, 22 Aug 2014 09:09:42 +0000 (18:09 +0900)]
demux: ts: don't try to decode and warn on scrambled PES

9 years agoCue: don't round the start values
Jean-Baptiste Kempf [Sat, 30 Aug 2014 05:01:00 +0000 (07:01 +0200)]
Cue: don't round the start values

Close #11740

9 years agognutls: don't break if ALPN extension is not available
Francois Cartegnie [Sat, 30 Aug 2014 04:51:36 +0000 (13:51 +0900)]
gnutls: don't break if ALPN extension is not available

At least, fedora 20 doesn't enable it.

9 years agoContribs: fix GnuTLS linking on Win32
Jean-Baptiste Kempf [Sat, 30 Aug 2014 04:49:19 +0000 (06:49 +0200)]
Contribs: fix GnuTLS linking on Win32

9 years agodemux: mp4: do chan bitmap reordering (fix #12002)
Francois Cartegnie [Wed, 27 Aug 2014 11:54:46 +0000 (20:54 +0900)]
demux: mp4: do chan bitmap reordering (fix #12002)

9 years agodemux: mp4: add chan atom
Francois Cartegnie [Wed, 27 Aug 2014 11:00:09 +0000 (20:00 +0900)]
demux: mp4: add chan atom

9 years agoaout: assert only is not release proof
Francois Cartegnie [Fri, 29 Aug 2014 06:21:56 +0000 (15:21 +0900)]
aout: assert only is not release proof

Can still div by zero by pushing vbr codec

9 years agopacketizer: flac: fix memory leak
Hannes Domani [Fri, 29 Aug 2014 16:17:17 +0000 (18:17 +0200)]
packetizer: flac: fix memory leak

9 years agowl_shell_surface: basic Wayland shell surface window provider
Rémi Denis-Courmont [Wed, 27 Aug 2014 21:12:40 +0000 (00:12 +0300)]
wl_shell_surface: basic Wayland shell surface window provider

9 years agowindow: define Wayland surface type
Rémi Denis-Courmont [Wed, 27 Aug 2014 16:39:32 +0000 (19:39 +0300)]
window: define Wayland surface type

The convention used here matches with the Qt Wayland native platform,
and seems most generic. Note that Wayland does not allow "sharing"
surface handles between multiple display connections in general, and
multiple processes in particular.

9 years agofontconfig: fix memory leak
Hannes Domani [Thu, 28 Aug 2014 13:22:22 +0000 (15:22 +0200)]
fontconfig: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agofilter_chain: fix memory leaks
Hannes Domani [Thu, 28 Aug 2014 11:25:37 +0000 (13:25 +0200)]
filter_chain: fix memory leaks

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoDirect3D: fix memory leak
Hannes Domani [Thu, 28 Aug 2014 12:13:03 +0000 (14:13 +0200)]
Direct3D: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoDirectDraw/Direct3D: make a clean copy of the video-format
Hannes Domani [Thu, 28 Aug 2014 12:08:58 +0000 (14:08 +0200)]
DirectDraw/Direct3D: make a clean copy of the video-format

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoavcodec: fix memory leak
Hannes Domani [Thu, 28 Aug 2014 11:38:12 +0000 (13:38 +0200)]
avcodec: fix memory leak

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoWin32 threads: fix memory leak of detached thread
Hannes Domani [Thu, 28 Aug 2014 11:22:33 +0000 (13:22 +0200)]
Win32 threads: fix memory leak of detached thread

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agocompat: poll: fix compilation
KO Myung-Hun [Thu, 28 Aug 2014 10:15:58 +0000 (19:15 +0900)]
compat: poll: fix compilation

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoos2: getaddrinfo: fix typo
KO Myung-Hun [Thu, 28 Aug 2014 07:14:51 +0000 (16:14 +0900)]
os2: getaddrinfo: fix typo

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodaala: update NEWS, MODULES_LIST and POTFILES.in
Tristan Matthews [Thu, 28 Aug 2014 07:12:04 +0000 (03:12 -0400)]
daala: update NEWS, MODULES_LIST and POTFILES.in

9 years agodemux: ogg: daala support
Tristan Matthews [Thu, 21 Aug 2014 00:23:41 +0000 (17:23 -0700)]
demux: ogg: daala support

9 years agodaala: add decoder support
Tristan Matthews [Wed, 20 Aug 2014 21:27:04 +0000 (14:27 -0700)]
daala: add decoder support

9 years agoContribs: update Nettle to 2.7.1
Jean-Baptiste Kempf [Thu, 28 Aug 2014 06:36:30 +0000 (08:36 +0200)]
Contribs: update Nettle to 2.7.1

9 years agoFix issues with replaced compat functions in C++ modules
Jean-Baptiste Kempf [Tue, 26 Aug 2014 19:37:06 +0000 (19:37 +0000)]
Fix issues with replaced compat functions in C++ modules

Notably poll, inet*, swab, *rand48, and tsearch

9 years agoegl: revector
Rémi Denis-Courmont [Wed, 27 Aug 2014 19:57:58 +0000 (22:57 +0300)]
egl: revector

9 years agoContribs: update GnuTLS to 3.2.17
Jean-Baptiste Kempf [Mon, 25 Aug 2014 20:41:40 +0000 (22:41 +0200)]
Contribs: update GnuTLS to 3.2.17

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoContribs: Update Nettle to 2.7
Jean-Baptiste Kempf [Mon, 25 Aug 2014 20:48:45 +0000 (22:48 +0200)]
Contribs: Update Nettle to 2.7

This is required for gnutls 3.2.x+ building

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agolua: reactivate vlclua_net_poll() on windows
Hannes Domani [Sun, 17 Aug 2014 12:38:54 +0000 (14:38 +0200)]
lua: reactivate vlclua_net_poll() on windows

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agofilesystem: avoid potential qsort(NULL)
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:35:27 +0000 (21:35 +0300)]
filesystem: avoid potential qsort(NULL)

9 years agomkv: avoid potential NULL memory comparison
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:31:15 +0000 (21:31 +0300)]
mkv: avoid potential NULL memory comparison

memcmp(NULL, b, 0) and memcpy(a, NULL, 0) are undefined in ISO C.

9 years agovcd: fix NULL dereference on error
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:26:52 +0000 (21:26 +0300)]
vcd: fix NULL dereference on error

9 years agodvb scan: use unsigned indices (CID#1048723)
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:18:37 +0000 (21:18 +0300)]
dvb scan: use unsigned indices (CID#1048723)

9 years agoanaglyph: dead code
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:14:44 +0000 (21:14 +0300)]
anaglyph: dead code

9 years agosap: dead code
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:13:10 +0000 (21:13 +0300)]
sap: dead code

9 years agostream: remove tautology
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:07:32 +0000 (21:07 +0300)]
stream: remove tautology

p_current cannot be NULL.

9 years agoshoutcast: fix NULL deref on error
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:02:37 +0000 (21:02 +0300)]
shoutcast: fix NULL deref on error

9 years agohttpd: reject incoming requests bodies over 64k
Rémi Denis-Courmont [Mon, 25 Aug 2014 17:55:42 +0000 (20:55 +0300)]
httpd: reject incoming requests bodies over 64k

9 years agohttpd: reindent
Rémi Denis-Courmont [Mon, 25 Aug 2014 17:55:28 +0000 (20:55 +0300)]
httpd: reindent

9 years agooss: use software volume on non-FreeBSD targets (refs #11880)
Rémi Denis-Courmont [Mon, 25 Aug 2014 17:06:35 +0000 (20:06 +0300)]
oss: use software volume on non-FreeBSD targets (refs #11880)

9 years agomtime: fix signed integer overflow
Rémi Denis-Courmont [Mon, 25 Aug 2014 15:58:43 +0000 (18:58 +0300)]
mtime: fix signed integer overflow

9 years agoavcodec: disable frame multithreading with dxva2
Felix Abecassis [Mon, 25 Aug 2014 10:07:22 +0000 (12:07 +0200)]
avcodec: disable frame multithreading with dxva2

Fix #11930, #11693

9 years agodecoder: merge both private format structures
Rémi Denis-Courmont [Sun, 24 Aug 2014 18:59:37 +0000 (21:59 +0300)]
decoder: merge both private format structures

9 years agodecoder: merge aout/vout/sout format in private strucutre
Rémi Denis-Courmont [Sun, 24 Aug 2014 18:16:09 +0000 (21:16 +0300)]
decoder: merge aout/vout/sout format in private strucutre

Also fix free() of undefined pointer if sout packetizer is deleted
before it is fed any single block.

9 years agodecoder: inline one function
Rémi Denis-Courmont [Sun, 24 Aug 2014 17:58:46 +0000 (20:58 +0300)]
decoder: inline one function

9 years agognutls: fix compilation with 3.3.0+
Rémi Denis-Courmont [Sun, 24 Aug 2014 17:25:36 +0000 (20:25 +0300)]
gnutls: fix compilation with 3.3.0+

9 years agognutls: require version 3.1.11
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:29:09 +0000 (23:29 +0300)]
gnutls: require version 3.1.11

9 years agohttp: negotiate HTTP/1.1 explicitly over TLS
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:24:37 +0000 (23:24 +0300)]
http: negotiate HTTP/1.1 explicitly over TLS

9 years agohttpd: advertise HTTP/1.1 support over TLS
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:15:02 +0000 (23:15 +0300)]
httpd: advertise HTTP/1.1 support over TLS

9 years agotls: add ALPN parameters
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:10:50 +0000 (23:10 +0300)]
tls: add ALPN parameters

9 years agognutls: add parameter for Application Layer Protocol Negotiation
Rémi Denis-Courmont [Sat, 23 Aug 2014 19:42:50 +0000 (22:42 +0300)]
gnutls: add parameter for Application Layer Protocol Negotiation

9 years agosecuretransport: adapt to latest changes in tls core
David Fuhrmann [Sat, 23 Aug 2014 18:46:32 +0000 (20:46 +0200)]
securetransport: adapt to latest changes in tls core

9 years agognutls: fix memory leaks
Rémi Denis-Courmont [Sat, 23 Aug 2014 14:31:17 +0000 (17:31 +0300)]
gnutls: fix memory leaks

9 years agognutls: drop useless global mutex and init if version >= 3.3.0
Rémi Denis-Courmont [Sat, 23 Aug 2014 14:26:19 +0000 (17:26 +0300)]
gnutls: drop useless global mutex and init if version >= 3.3.0

9 years agognutls: update to version 3.1.9 and simplify
Rémi Denis-Courmont [Sat, 23 Aug 2014 10:42:37 +0000 (13:42 +0300)]
gnutls: update to version 3.1.9 and simplify

9 years agognutls: remove useless per-session structure
Rémi Denis-Courmont [Sat, 23 Aug 2014 10:05:54 +0000 (13:05 +0300)]
gnutls: remove useless per-session structure

9 years agognutls: reorder, inline and turn off server-side if !SOUT
Rémi Denis-Courmont [Sat, 23 Aug 2014 09:12:56 +0000 (12:12 +0300)]
gnutls: reorder, inline and turn off server-side if !SOUT

9 years agognutls: remove useless structure for client-side credentials
Rémi Denis-Courmont [Fri, 22 Aug 2014 22:31:01 +0000 (01:31 +0300)]
gnutls: remove useless structure for client-side credentials

9 years agognutls: move handshake callback to credentials (alongside open/close)
Rémi Denis-Courmont [Fri, 22 Aug 2014 22:15:23 +0000 (01:15 +0300)]
gnutls: move handshake callback to credentials (alongside open/close)

9 years agohttpd: dead code
Rémi Denis-Courmont [Fri, 22 Aug 2014 21:20:02 +0000 (00:20 +0300)]
httpd: dead code

9 years agognutls: remove client certificate support
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:38:43 +0000 (23:38 +0300)]
gnutls: remove client certificate support

This was never used. The web interface requires a password instead.

9 years agognutls: simplify certificate verification
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:32:48 +0000 (23:32 +0300)]
gnutls: simplify certificate verification

9 years agognutls: require version 3.1.4 or later
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:07:07 +0000 (23:07 +0300)]
gnutls: require version 3.1.4 or later

9 years agognutls: fix flawed logic
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:22:44 +0000 (23:22 +0300)]
gnutls: fix flawed logic

val is always zero in the removed code; the verification status is what
actually matters.

9 years agourl: fix out-of-bound read
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:04:39 +0000 (23:04 +0300)]
url: fix out-of-bound read

...if *next is '\0'.