mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
46bf503a0a
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>
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
*** libs/pgpcdk/priv/networklib/keyserver/CHTTPKeyServer.cpp 2000/01/26 03:10:44 1.1.1.1
|
|
--- libs/pgpcdk/priv/networklib/keyserver/CHTTPKeyServer.cpp 2000/01/26 03:13:48 1.1.1.2
|
|
***************
|
|
*** 341,353 ****
|
|
tempStorage = static_cast<PGPByte *>(PGPNewData( PGPGetContextMemoryMgr(mContext),
|
|
kTempStorageSize,
|
|
kPGPMemoryMgrFlags_None));
|
|
! if (tempStorage == 0) {
|
|
ThrowPGPError_(kPGPError_OutOfMemory);
|
|
}
|
|
buffer = static_cast<PGPByte *>(PGPNewData( PGPGetContextMemoryMgr(mContext),
|
|
result + 1,
|
|
kPGPMemoryMgrFlags_None));
|
|
! if (buffer == 0) {
|
|
ThrowPGPError_(kPGPError_OutOfMemory);
|
|
}
|
|
socketResult = PGPReceive( mSocket,
|
|
--- 341,353 ----
|
|
tempStorage = static_cast<PGPByte *>(PGPNewData( PGPGetContextMemoryMgr(mContext),
|
|
kTempStorageSize,
|
|
kPGPMemoryMgrFlags_None));
|
|
! if (tempStorage == (StPGPDataRef) 0) {
|
|
ThrowPGPError_(kPGPError_OutOfMemory);
|
|
}
|
|
buffer = static_cast<PGPByte *>(PGPNewData( PGPGetContextMemoryMgr(mContext),
|
|
result + 1,
|
|
kPGPMemoryMgrFlags_None));
|
|
! if (buffer == (StPGPDataRef) 0) {
|
|
ThrowPGPError_(kPGPError_OutOfMemory);
|
|
}
|
|
socketResult = PGPReceive( mSocket,
|