diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-support/beecrypt/beecrypt/fix-security.patch | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-support/beecrypt/beecrypt/fix-security.patch')
-rw-r--r-- | meta/recipes-support/beecrypt/beecrypt/fix-security.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-support/beecrypt/beecrypt/fix-security.patch b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch new file mode 100644 index 0000000000..6cb0c00205 --- /dev/null +++ b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | Fix visibility of various C++ functions, inspired by a similar patch in the Fink | ||
2 | project: | ||
3 | http://www.mail-archive.com/fink-commits@lists.sourceforge.net/msg75742.html | ||
4 | |||
5 | JL 05/07/10 | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Index: beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h | ||
10 | =================================================================== | ||
11 | --- beecrypt-4.2.1.orig/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:22:57.000000000 +0800 | ||
12 | +++ beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:23:01.000000000 +0800 | ||
13 | @@ -147,13 +147,13 @@ | ||
14 | mutable bytearray* enc; | ||
15 | |||
16 | BeeCertificate(); | ||
17 | - BeeCertificate(InputStream& in) throw (IOException); | ||
18 | |||
19 | void encodeTBS(DataOutputStream& out) const throw (IOException); | ||
20 | |||
21 | bytearray* encodeTBS() const throw (CertificateEncodingException); | ||
22 | |||
23 | public: | ||
24 | + BeeCertificate(InputStream& in) throw (IOException); | ||
25 | BeeCertificate(const BeeCertificate&) throw (CloneNotSupportedException); | ||
26 | virtual ~BeeCertificate(); | ||
27 | |||
28 | Index: beecrypt-4.2.1/include/beecrypt/c++/security/Security.h | ||
29 | =================================================================== | ||
30 | --- beecrypt-4.2.1.orig/include/beecrypt/c++/security/Security.h 2010-11-26 17:20:55.000000000 +0800 | ||
31 | +++ beecrypt-4.2.1/include/beecrypt/c++/security/Security.h 2010-11-26 17:21:36.000000000 +0800 | ||
32 | @@ -61,7 +61,6 @@ | ||
33 | friend class SecureRandom; | ||
34 | friend class Signature; | ||
35 | |||
36 | - private: | ||
37 | struct spi | ||
38 | { | ||
39 | Object* cspi; | ||
40 | @@ -76,6 +75,7 @@ | ||
41 | static spi* getSpi(const String& algo, const String& type, const Provider&) throw (NoSuchAlgorithmException); | ||
42 | static spi* getFirstSpi(const String& type); | ||
43 | |||
44 | + private: | ||
45 | static const String& getKeyStoreDefault(); | ||
46 | |||
47 | static bool _init; | ||