diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-14 17:27:51 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-14 17:27:51 +0000 |
commit | a87cda1b4b280ac83f89020525dbe4af6e594df8 (patch) | |
tree | bdf0505b5729928d313c6f4a38e1211f017ad03b /tests | |
parent | ed93a90d48e8a2594b745d6dba0343ef9b91d7e4 (diff) | |
download | gnutls-a87cda1b4b280ac83f89020525dbe4af6e594df8.tar.gz |
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile | 2 | ||||
-rw-r--r-- | 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; } |