summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/beecrypt/beecrypt/fix-security.patch')
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/fix-security.patch51
1 files changed, 26 insertions, 25 deletions
diff --git a/meta/recipes-support/beecrypt/beecrypt/fix-security.patch b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
index 6103562e0a..f28e393ca7 100644
--- a/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
+++ b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
@@ -3,20 +3,38 @@ project:
3http://www.mail-archive.com/fink-commits@lists.sourceforge.net/msg75742.html 3http://www.mail-archive.com/fink-commits@lists.sourceforge.net/msg75742.html
4 4
5JL 05/07/10 5JL 05/07/10
6Index: beecrypt-4.1.2/c++/security/Security.h 6Index: beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h
7=================================================================== 7===================================================================
8--- beecrypt-4.1.2.orig/c++/security/Security.h 2010-07-05 17:15:34.811273306 +0100 8--- beecrypt-4.2.1.orig/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:22:57.000000000 +0800
9+++ beecrypt-4.1.2/c++/security/Security.h 2010-07-05 17:15:38.696388531 +0100 9+++ beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:23:01.000000000 +0800
10@@ -75,8 +75,6 @@ 10@@ -147,13 +147,13 @@
11 mutable bytearray* enc;
12
13 BeeCertificate();
14- BeeCertificate(InputStream& in) throw (IOException);
15
16 void encodeTBS(DataOutputStream& out) const throw (IOException);
17
18 bytearray* encodeTBS() const throw (CertificateEncodingException);
19
11 public: 20 public:
12 typedef vector<const Provider*> provider_vector; 21+ BeeCertificate(InputStream& in) throw (IOException);
13 typedef provider_vector::iterator provider_vector_iterator; 22 BeeCertificate(const BeeCertificate&) throw (CloneNotSupportedException);
14- 23 virtual ~BeeCertificate();
24
25Index: beecrypt-4.2.1/include/beecrypt/c++/security/Security.h
26===================================================================
27--- beecrypt-4.2.1.orig/include/beecrypt/c++/security/Security.h 2010-11-26 17:20:55.000000000 +0800
28+++ beecrypt-4.2.1/include/beecrypt/c++/security/Security.h 2010-11-26 17:21:36.000000000 +0800
29@@ -61,7 +61,6 @@
30 friend class SecureRandom;
31 friend class Signature;
32
15- private: 33- private:
16 struct spi 34 struct spi
17 { 35 {
18 Object* cspi; 36 Object* cspi;
19@@ -91,6 +89,7 @@ 37@@ -76,6 +75,7 @@
20 static spi* getSpi(const String& algo, const String& type, const Provider&) throw (NoSuchAlgorithmException); 38 static spi* getSpi(const String& algo, const String& type, const Provider&) throw (NoSuchAlgorithmException);
21 static spi* getFirstSpi(const String& type); 39 static spi* getFirstSpi(const String& type);
22 40
@@ -24,20 +42,3 @@ Index: beecrypt-4.1.2/c++/security/Security.h
24 static const String& getKeyStoreDefault(); 42 static const String& getKeyStoreDefault();
25 43
26 static bool _init; 44 static bool _init;
27Index: beecrypt-4.1.2/c++/beeyond/BeeCertificate.h
28===================================================================
29--- beecrypt-4.1.2.orig/c++/beeyond/BeeCertificate.h 2004-11-03 09:37:27.000000000 +0000
30+++ beecrypt-4.1.2/c++/beeyond/BeeCertificate.h 2010-07-05 17:16:25.216332324 +0100
31@@ -150,11 +150,11 @@
32 mutable String* str;
33
34 BeeCertificate();
35- BeeCertificate(InputStream& in) throw (IOException);
36
37 bytearray* encodeTBS() const;
38
39 public:
40+ BeeCertificate(InputStream& in) throw (IOException);
41 BeeCertificate(const BeeCertificate&);
42 virtual ~BeeCertificate();
43