Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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; |