| 1 |
diff -uNr MyPasswordSafe-20061216-orig/src/crypto/bfproxy.cpp MyPasswordSafe-20061216/src/crypto/bfproxy.cpp
|
| 2 |
--- MyPasswordSafe-20061216-orig/src/crypto/bfproxy.cpp 2004-12-06 14:07:03.000000000 +0100
|
| 3 |
+++ MyPasswordSafe-20061216/src/crypto/bfproxy.cpp 2008-01-04 14:48:06.000000000 +0100
|
| 4 |
@@ -17,6 +17,7 @@
|
| 5 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
| 6 |
*/
|
| 7 |
#include "bfproxy.hpp"
|
| 8 |
+#include <cstring>
|
| 9 |
|
| 10 |
BFProxy::BFProxy(const unsigned char *key, int len)
|
| 11 |
{
|
| 12 |
diff -uNr MyPasswordSafe-20061216-orig/src/encryptedstring.cpp MyPasswordSafe-20061216/src/encryptedstring.cpp
|
| 13 |
--- MyPasswordSafe-20061216-orig/src/encryptedstring.cpp 2004-12-06 13:32:05.000000000 +0100
|
| 14 |
+++ MyPasswordSafe-20061216/src/encryptedstring.cpp 2008-01-04 14:20:16.000000000 +0100
|
| 15 |
@@ -17,6 +17,7 @@
|
| 16 |
*/
|
| 17 |
#include <time.h>
|
| 18 |
#include <iostream>
|
| 19 |
+#include <cstdlib>
|
| 20 |
#include "pwsafe/Util.h"
|
| 21 |
#include "crypto/bfproxy.hpp"
|
| 22 |
#include "crypto/sha1.h"
|
| 23 |
diff -uNr MyPasswordSafe-20061216-orig/src/pwsafe/Util.h MyPasswordSafe-20061216/src/pwsafe/Util.h
|
| 24 |
--- MyPasswordSafe-20061216-orig/src/pwsafe/Util.h 2004-11-01 22:54:35.000000000 +0100
|
| 25 |
+++ MyPasswordSafe-20061216/src/pwsafe/Util.h 2008-01-04 14:37:08.000000000 +0100
|
| 26 |
@@ -9,6 +9,9 @@
|
| 27 |
#include "securedstring.hpp"
|
| 28 |
#include <assert.h>
|
| 29 |
|
| 30 |
+#include <cstring>
|
| 31 |
+#include <cstdlib>
|
| 32 |
+#include <climits>
|
| 33 |
#include <string>
|
| 34 |
using std::string;
|
| 35 |
#include "PW_sha1.h"
|
| 36 |
diff -uNr MyPasswordSafe-20061216-orig/src/safe.hpp MyPasswordSafe-20061216/src/safe.hpp
|
| 37 |
--- MyPasswordSafe-20061216-orig/src/safe.hpp 2005-11-23 14:21:29.000000000 +0100
|
| 38 |
+++ MyPasswordSafe-20061216/src/safe.hpp 2008-01-04 14:21:36.000000000 +0100
|
| 39 |
@@ -129,7 +129,7 @@
|
| 40 |
SafeEntry(SafeGroup *parent);
|
| 41 |
SafeEntry(SafeGroup *parent,
|
| 42 |
const QString &n, const QString &u,
|
| 43 |
- const EncryptedString &p, const QString &n);
|
| 44 |
+ const EncryptedString &p, const QString ¬e);
|
| 45 |
SafeEntry(const SafeEntry &item);
|
| 46 |
~SafeEntry();
|
| 47 |
|
| 48 |
diff -uNr MyPasswordSafe-20061216-orig/src/safeserializer.cpp MyPasswordSafe-20061216/src/safeserializer.cpp
|
| 49 |
--- MyPasswordSafe-20061216-orig/src/safeserializer.cpp 2004-12-06 13:34:28.000000000 +0100
|
| 50 |
+++ MyPasswordSafe-20061216/src/safeserializer.cpp 2008-01-04 14:24:57.000000000 +0100
|
| 51 |
@@ -22,6 +22,7 @@
|
| 52 |
#include "plaintextlizer.hpp"
|
| 53 |
#include "serializers.hpp"
|
| 54 |
#include "xmlserializer.hpp"
|
| 55 |
+#include <algorithm>
|
| 56 |
|
| 57 |
using namespace std;
|
| 58 |
|
| 59 |
diff -uNr MyPasswordSafe-20061216-orig/src/xmlserializer.hpp MyPasswordSafe-20061216/src/xmlserializer.hpp
|
| 60 |
--- MyPasswordSafe-20061216-orig/src/xmlserializer.hpp 2004-11-01 22:34:58.000000000 +0100
|
| 61 |
+++ MyPasswordSafe-20061216/src/xmlserializer.hpp 2008-01-04 14:22:59.000000000 +0100
|
| 62 |
@@ -22,7 +22,7 @@
|
| 63 |
#include "safeserializer.hpp"
|
| 64 |
|
| 65 |
class Safe;
|
| 66 |
-enum Safe::Error;
|
| 67 |
+// enum Safe::Error;
|
| 68 |
class EncryptedString;
|
| 69 |
class SecuredString;
|
| 70 |
|