Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1ed8e771
Commit
1ed8e771
authored
Nov 02, 2014
by
Noah Misch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead-since-introduction pgcrypto code.
Marko Tiikkaja
parent
c40212ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
contrib/pgcrypto/pgp-decrypt.c
contrib/pgcrypto/pgp-decrypt.c
+7
-10
No files found.
contrib/pgcrypto/pgp-decrypt.c
View file @
1ed8e771
...
@@ -1069,7 +1069,7 @@ pgp_skip_packet(PullFilter *pkt)
...
@@ -1069,7 +1069,7 @@ pgp_skip_packet(PullFilter *pkt)
while
(
res
>
0
)
while
(
res
>
0
)
res
=
pullf_read
(
pkt
,
32
*
1024
,
&
tmp
);
res
=
pullf_read
(
pkt
,
32
*
1024
,
&
tmp
);
return
res
<
0
?
res
:
0
;
return
res
;
}
}
/*
/*
...
@@ -1078,19 +1078,16 @@ pgp_skip_packet(PullFilter *pkt)
...
@@ -1078,19 +1078,16 @@ pgp_skip_packet(PullFilter *pkt)
int
int
pgp_expect_packet_end
(
PullFilter
*
pkt
)
pgp_expect_packet_end
(
PullFilter
*
pkt
)
{
{
int
res
=
1
;
int
res
;
uint8
*
tmp
;
uint8
*
tmp
;
while
(
res
>
0
)
res
=
pullf_read
(
pkt
,
32
*
1024
,
&
tmp
);
if
(
res
>
0
)
{
{
res
=
pullf_read
(
pkt
,
32
*
1024
,
&
tmp
);
px_debug
(
"pgp_expect_packet_end: got data"
);
if
(
res
>
0
)
return
PXE_PGP_CORRUPT_DATA
;
{
px_debug
(
"pgp_expect_packet_end: got data"
);
return
PXE_PGP_CORRUPT_DATA
;
}
}
}
return
res
<
0
?
res
:
0
;
return
res
;
}
}
int
int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment