Slávek Banko
e90d3f57cd
Added support for OpenSSL 1.1
...
Some KOpenSSLProxy methods have been renamed to be consistent
with OpenSSL 1.1 API names and to prevent hidden API changes.
To ensure API / ABI compatibility, the original methods are
still included but have been marked as deprecated.
+ SSLv23_client_method => TLS_client_method
+ X509_STORE_CTX_set_chain => X509_STORE_CTX_set0_untrusted
+ sk_dup => OPENSSL_sk_dup
+ sk_free => OPENSSL_sk_free
+ sk_new => OPENSSL_sk_new
+ sk_num => OPENSSL_sk_num
+ sk_pop => OPENSSL_sk_pop
+ sk_push => OPENSSL_sk_push
+ sk_value => OPENSSL_sk_value
Additional methods have been added to KOpenSSLProxy to support
the new OpenSSL 1.1 API functions that provide access to the
(now) opaque SSL structures. Compatibility with OpenSSL < 1.1
is handled internally in KOpenSSLProxy.
+ BIO_get_data
+ DSA_get0_key
+ DSA_get0_pqg
+ EVP_PKEY_base_id
+ EVP_PKEY_get0_DSA
+ EVP_PKEY_get0_RSA
+ RSA_get0_key
+ X509_CRL_get0_lastUpdate
+ X509_CRL_get0_nextUpdate
+ X509_OBJECT_get0_X509
+ X509_OBJECT_get_type
+ X509_STORE_CTX_get_current_cert
+ X509_STORE_CTX_get_error
+ X509_STORE_CTX_get_error_depth
+ X509_STORE_CTX_set_error
+ X509_STORE_get0_objects
+ X509_STORE_set_verify_cb
+ X509_get0_signature
+ X509_getm_notAfter
+ X509_getm_notBefore
+ X509_subject_name_cmp
+ _SSL_session_reused
+ _SSL_set_options
Method "KSSL::setSession" has been renamed to "KSSL::takeSession"
and its functionality has changed: the session is now transferred
from the argument object to the invoked object. Since it is only
used internally in TDE and the functionality is different, the
method with the previous name has not been preserved.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e1861cb681
)
7 years ago
Slávek Banko
9459c09772
Fix security issue CVE-2016-6232
...
Based on https://quickgit.kde.org/?p=karchive.git&a=commitdiff&h=0cb243f6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 261a3b7a12
)
7 years ago
Emanoil Kotsev
c4838c3247
tdeio: fixed up certificate handling when certificate has expired. Also clean
...
up the code.
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f3fadb884d
)
7 years ago
Emanoil Kotsev
35a651ae82
Fixed handling of certificate "permanent" acceptance. This relates to
...
bug 1287.
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Partially cleaned up and modified.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7406ed0563
)
7 years ago
Timothy Pearson
af445343bd
Parse GENERALIZEDTIME ASN structures
...
This fixes certificate dates beyond year 2049.
(cherry picked from commit 07dbb3b5c9
)
7 years ago
Timothy Pearson
6a8935327b
Fix crash on KSSLCertificate deallocation when a CRL is held in the KSSLCertificate object
...
(cherry picked from commit 62a597d752
)
7 years ago
Timothy Pearson
f4726e5f8d
Fix memory leak when deleting a KSSLCertificate that holds a CRL
...
(cherry picked from commit 9bf244dd97
)
7 years ago
Timothy Pearson
56e5891a95
Add initial CRL support to KSSLCertificate
...
(cherry picked from commit 5896a404bc
)
7 years ago
Alexander Golubev
cc48df2a09
tdeio/kmimemagic: remove MAGIC_CONTINUE flag
...
This resolves bug 2713
The MAGIC_CONTINUE flag resulted in a malformed mimemagic responses
like "application/x-executable\012- application/octet-stream"
instead of just "application/x-executable".
This string being unparsed then caused the KMimeType::findByURL() to
fallback to application/octet-stream for nearly every mimetype.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit f54496a1f2
)
7 years ago
Slávek Banko
a8e88fd005
Compile MIME magic file
...
This partially resolves Bug 2217
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 026a0ccdcd
)
7 years ago
Slávek Banko
b334cc03d5
Fix mimetype detection using magic library
...
for mime types not contained in TDE settings
This resolves Bug 2392
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b0ac7d2879
)
7 years ago
Timothy Pearson
dab5e4adcb
Properly identify desktop files
...
This resolves a rather major glitch with Device Links noted on the mailing list
(cherry picked from commit 6ddd04baca
)
7 years ago
François Andriot
2ab53ffee4
Fix FTBFS with libmagic < 4.23
...
(cherry picked from commit 8f11758253
)
7 years ago
Slávek Banko
3138567410
Fix FTBFS on missing magic_getpath
...
(cherry picked from commit 03a61295af
)
7 years ago
Timothy Pearson
6a26452382
Do not use magic_version function if magic version support not available
...
This relates to Bug 656
(cherry picked from commit 58c3aed2bb
)
7 years ago
Timothy Pearson
099aa9f362
Fix libmime database load once and for all
...
This relates to Bug 656
(cherry picked from commit e5f898219a
)
7 years ago
Timothy Pearson
562d0b7642
Fix loading of additional mime magic files
...
This resolves Bug 656
(cherry picked from commit 62bfcbe478
)
7 years ago
Timothy Pearson
602501b7b8
Use libmagic for mime type determination
...
This relates to Bug 656, Bug 661, and others
(cherry picked from commit 8066e87c6c
)
7 years ago
Timothy Pearson
a515deffb8
Remove unused KMimeMagic::mergeBufConfig method in preparation for converting to libmagic
...
This relates to Bug 656
(cherry picked from commit 6d268f3c55
)
7 years ago
Timothy Pearson
fc073bef59
Fix a number of build warnings
...
(cherry picked from commit e0b1bfb014
)
7 years ago
Timothy Pearson
d16c4300eb
Fix compiler warnings
...
(cherry picked from commit 5e9959ef85
)
7 years ago
Nikolaus Klepp
c1136180cc
Fix FTBFS on freebsd
...
This resolves Bug 2431
Signed-off-by: Nikolaus Klepp <office@klepp.biz>
(cherry picked from commit 3be9f300c9
)
9 years ago
Slávek Banko
a1d982adfc
Improve ACL detection for CMake build
...
Fix hidden visibility in posixacladdons
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 6ebff39751
)
9 years ago
Slávek Banko
fb74d787f1
Add include directory for internal libltdl
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit dfd680030c
)
9 years ago
Timothy Pearson
7e2cf4a9d5
Fix incorrect Download string in TDEFileSpeedBar
...
(cherry picked from commit acc29a93bb
)
9 years ago
Timothy Pearson
a6211be0ae
Makes favorite URLs in TDE file open/save dialogs global (sared amongst all applications) by default
...
This commits the following patch from Bug 1499:
tdelibs: fix kurlbar global
(cherry picked from commit c359057caa
)
9 years ago
Timothy Pearson
1bdb69cbcb
Push the following patches to GIT from Bug 1499:
...
tdelibs: disable kfiledialogbox OK button if user has no permission on file
tdelibs: fix https loop
tdelibs: fix groups in kdialogpropertiesdialog
tdelibs: avoid assertion in tdeio karchive
(cherry picked from commit 9cb7d73182
)
9 years ago
Thomas McGuire
1af590f88a
Support writing empty directories to ZIP files.
...
(cherry picked from commit ddbe23e90d
)
9 years ago
François Andriot
6cbb86f9ae
Disable environment-based completion in kurlcompletion on openbsd
...
(cherry picked from commit 78a66b11dd
)
9 years ago
François Andriot
e703480d0d
Fix FTBFS because undefined __progname in tdeio_connection
...
(cherry picked from commit 9c7a8637ed
)
9 years ago
Timothy Pearson
e25c6429ea
Add mimeTypePtrFast method to KFileItem
...
This relates to Bug 699
Clean up a couple of minor build warnings
Classify usbmisc devices
(cherry picked from commit 54578ce023
)
9 years ago
Timothy Pearson
52109a5ac7
Fix accidental regression introduced in prior commit
...
(cherry picked from commit e1f2a0bb29
)
9 years ago
Timothy Pearson
f52fdb1b4a
Add fast mimetype accessor for use by Konqueror when checking for media device icons
...
This relates to Bug 699
(cherry picked from commit a21cb20628
)
9 years ago
Slávek Banko
89049217d7
Fix re-read configuration from prior commit 4bfc4550
...
(cherry picked from commit c2c65a6695
)
9 years ago
Timothy Pearson
e54f3e744f
Prevent spurious translation warning from being emitted
...
This relates to Bug 2076
(cherry picked from commit 4bfc4550d2
)
9 years ago
Timothy Pearson
909773f4a4
Do not allow device link creation/modification if no device is specified
...
This relates to Bug 2076
(cherry picked from commit e3db584672
)
9 years ago
Timothy Pearson
9a335db701
Display correct icon and icon widget type in Properties dialog of media device nodes
...
This relates to Bug 1612
(cherry picked from commit 5a3c9e4641
)
9 years ago
Slávek Banko
c19a10f20f
Fix tdecore directories of linked libraries
...
(cherry picked from commit 62ac96e110
)
9 years ago
Darrell Anderson
aad1d85a5e
Rebranding, tooltip, and What's This string cleanup.
...
(cherry picked from commit 1872b105e0
)
9 years ago
Timothy Pearson
d4249423a4
Fix crash in mount/umount operations when using pmount
...
Remove unneeded hack in dirlister for media device root directory
(cherry picked from commit a179d5d696
)
9 years ago
Slávek Banko
5ab6b051a5
Fix KDiskFreeSp for mount points with UTF8 characters
...
(cherry picked from commit 56068041d4
)
9 years ago
Francois Andriot
33f00925ff
Add '/run' folder to the slow freq polling directories list
...
(cherry picked from commit 47bbb9e40b
)
9 years ago
Timothy Pearson
8192b8bfd7
Check if SSL symbols exist before attempting to load them
...
This relates to Bug 1655
(cherry picked from commit e757d3d6ae
)
9 years ago
Michele Calgaro
156fc5f825
Move focus to file name in rename dialog during copying files
...
This resolves Bug 1686
(cherry picked from commit 645993e7d8
)
9 years ago
Slávek Banko
c924810e48
Cleanup KFilterDev::size warning
...
(cherry picked from commit 2a415f233f
)
9 years ago
Darrell Anderson
003a8dd1c6
Clarify source of identical kdWarning messages.
...
(cherry picked from commit c9e6442846
)
9 years ago
Slávek Banko
22290fd992
Add sbin into the paths for search binary during substitute uid
...
This resolves Bug 1494
(cherry picked from commit bb36045b59
)
9 years ago
Slávek Banko
6240e10388
Fix starting KDE4 applications
...
This resolves Bug 1654
(cherry picked from commit e2f981b140
)
9 years ago
Alexander Golubev
918ff4b4ae
Improved creation backtraces
...
(cherry picked from commit a5ba7ad712
)
9 years ago
Alexander Golubev
5bb41966db
Added check the conditions for building backtrace handler
...
(cherry picked from commit 35748811a4
)
9 years ago