From a87cda1b4b280ac83f89020525dbe4af6e594df8 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 14 Mar 2003 17:27:51 +0000 Subject: *** empty log message *** --- tests/Makefile | 2 +- tests/openpgp_test.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 84505c242d..7549a80369 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,7 +1,7 @@ LIBS=`../lib/libgnutls-config --libs` -lgcrypt LIBS2=`../lib/libgnutls-config --libs` `../libextra/libgnutls-extra-config --libs` -lgcrypt -lopencdk CC=gcc -CFLAGS=-O2 -I../libextra/ -I../ -I../lib/ `../lib/libgnutls-config --cflags` +CFLAGS=-O2 -I../libextra/ -I../ -I../lib/ `../lib/libgnutls-config --cflags` -I../lib/minitasn1/ all: x509test opgptest diff --git a/tests/openpgp_test.c b/tests/openpgp_test.c index 96b935285a..7bb00f5e2a 100644 --- a/tests/openpgp_test.c +++ b/tests/openpgp_test.c @@ -55,14 +55,14 @@ main( int argc, char ** argv ) gnutls_certificate_credentials ctx; gnutls_datum dat, xml, pk; gnutls_openpgp_name uid; - gnutls_private_key * pkey; + gnutls_privkey * pkey; gnutls_cert * cert; unsigned char fpr[20], keyid[8]; char *s, *t; size_t fprlen = 0; int rc, nbits = 0, i; - rc = gnutls_certificate_allocate_cred( &ctx ); + rc = gnutls_certificate_allocate_credentials( &ctx ); assert( rc == 0 ); s = "../src/openpgp/cli_ring.gpg"; @@ -152,7 +152,7 @@ main( int argc, char ** argv ) #endif _gnutls_free_datum( &dat ); - gnutls_certificate_free_cred( ctx ); + gnutls_certificate_free_credentials( ctx ); return 0; } -- cgit v1.2.1