Original patch was reversed. Attaching a proper one.
2013/9/25 Mateusz Kijowski <mateusz.kijow...@gmail.com> > Package: tinyca > Version: 0.7.5-4 > Severity: important > File: /usr/bin/tinyca2 > Tags: upstream patch > > After perl and/or gtk2-perl update tyinyca started to sometimes generate > certificates with options other than specified in the new certificate > window. > Affected options were controlled via radio buttons - digest, algorithm and > key > lenght > > After some investigation it turned out that the callback bound to 'toggled' > signal was firing twice (presumably one for unchecking and one for > checking the > radio button) resulting in a race condition. The attached patch checks if > the > radio button is being set to active before assigning value to certificate > options. Since GUI::_fill_radiobox() seems to be generic this might result > in > mangling other options controlled via radio buttons as well. > > > > -- System Information: > Debian Release: jessie/sid > APT prefers testing > APT policy: (990, 'testing'), (500, 'unstable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores) > Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages tinyca depends on: > ii libgtk2-perl 2:1.247-2+b1 > ii liblocale-gettext-perl 1.05-7+b2 > ii openssl 1.0.1e-3 > > Versions of packages tinyca recommends: > ii zip 3.0-7 > > tinyca suggests no packages. > > -- no debconf information >
tinyca2_radiobox.patch
Description: Binary data