~ubuntu-branches/ubuntu/trusty/postgresql-8.4/trusty

« back to all changes in this revision

Viewing changes to contrib/pgcrypto/pgp-info.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27
27
 * SUCH DAMAGE.
28
28
 *
29
 
 * $PostgreSQL: pgsql/contrib/pgcrypto/pgp-info.c,v 1.4 2005/10/15 02:49:06 momjian Exp $
 
29
 * $PostgreSQL: pgsql/contrib/pgcrypto/pgp-info.c,v 1.5 2009/06/11 14:48:52 momjian Exp $
30
30
 */
31
31
#include "postgres.h"
32
32
 
35
35
#include "pgp.h"
36
36
 
37
37
static int
38
 
read_pubkey_keyid(PullFilter * pkt, uint8 *keyid_buf)
 
38
read_pubkey_keyid(PullFilter *pkt, uint8 *keyid_buf)
39
39
{
40
40
        int                     res;
41
41
        PGP_PubKey *pk = NULL;
68
68
}
69
69
 
70
70
static int
71
 
read_pubenc_keyid(PullFilter * pkt, uint8 *keyid_buf)
 
71
read_pubenc_keyid(PullFilter *pkt, uint8 *keyid_buf)
72
72
{
73
73
        uint8           ver;
74
74
        int                     res;
109
109
 * dst should have room for 17 bytes
110
110
 */
111
111
int
112
 
pgp_get_keyid(MBuf * pgp_data, char *dst)
 
112
pgp_get_keyid(MBuf *pgp_data, char *dst)
113
113
{
114
114
        int                     res;
115
115
        PullFilter *src;