summaryrefslogtreecommitdiff
path: root/security/pgp6/files/patch-am
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-05-29 06:17:54 +0000
committerWill Andrews <will@FreeBSD.org>2000-05-29 06:17:54 +0000
commit46bf503a0a2a3bc7dd3d70ee2f5c9f795333fbb2 (patch)
tree7e18f02d8c0b9e2769c06e44139472ea14b22466 /security/pgp6/files/patch-am
parentAdd xtrojka, a skill game similar to T*tris. (diff)
Update to PGP (International version) 6.5.1i. This is actually a new
port, repo-copied from security/pgp5 by asami. I added a bunch of the intl mirrors to make this port super-available. PR: 16377 Submitted by: Mike Sherwood <mike@fate.com>
Notes
Notes: svn path=/head/; revision=28909
Diffstat (limited to 'security/pgp6/files/patch-am')
-rw-r--r--security/pgp6/files/patch-am36
1 files changed, 36 insertions, 0 deletions
diff --git a/security/pgp6/files/patch-am b/security/pgp6/files/patch-am
new file mode 100644
index 000000000000..b3303052c11b
--- /dev/null
+++ b/security/pgp6/files/patch-am
@@ -0,0 +1,36 @@
+*** libs/pgpcdk/priv/networklib/keyserver/CHTTPPGPKeyServer.cpp 2000/01/26 03:10:44 1.1.1.1
+--- libs/pgpcdk/priv/networklib/keyserver/CHTTPPGPKeyServer.cpp 2000/01/26 03:13:48 1.1.1.2
+***************
+*** 92,98 ****
+ path = static_cast<PGPByte *>(PGPNewData( PGPGetContextMemoryMgr(mContext),
+ strlen(kQueryPrefix) + strlen(query) + 1,
+ kPGPMemoryMgrFlags_None));
+! if (path == 0) {
+ ThrowPGPError_(kPGPError_OutOfMemory);
+ }
+ sprintf(path, "%s%s", kQueryPrefix, static_cast<char *>(query));
+--- 92,98 ----
+ path = static_cast<PGPByte *>(PGPNewData( PGPGetContextMemoryMgr(mContext),
+ strlen(kQueryPrefix) + strlen(query) + 1,
+ kPGPMemoryMgrFlags_None));
+! if (path == (StPGPDataRef) 0) {
+ ThrowPGPError_(kPGPError_OutOfMemory);
+ }
+ sprintf(path, "%s%s", kQueryPrefix, static_cast<char *>(query));
+***************
+*** 188,194 ****
+ PGPNewData( PGPGetContextMemoryMgr(mContext),
+ GetMaxURLEncodedBufferSize(bufSize) + postPrefixSize,
+ kPGPMemoryMgrFlags_None));
+! if (urlEncodedBuffer == 0) {
+ ThrowPGPError_(kPGPError_OutOfMemory);
+ }
+ strcpy(urlEncodedBuffer, kPostPrefix);
+--- 188,194 ----
+ PGPNewData( PGPGetContextMemoryMgr(mContext),
+ GetMaxURLEncodedBufferSize(bufSize) + postPrefixSize,
+ kPGPMemoryMgrFlags_None));
+! if (urlEncodedBuffer == (StPGPDataRef) 0) {
+ ThrowPGPError_(kPGPError_OutOfMemory);
+ }
+ strcpy(urlEncodedBuffer, kPostPrefix);