summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-02-01 11:14:47 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-02-01 11:14:47 +0000
commit4eb7eee2eebdf38466a955b73e122933422491bf (patch)
tree9719b14062087936fd518b56b7afbe64d382f969 /src/common.h
parent0a048d3c44bb23f6856587779c5ae0435d54f388 (diff)
downloadgnutls-4eb7eee2eebdf38466a955b73e122933422491bf.tar.gz
Several changes in certificate and key handling.
* gnutls_certificate_allocate_sc() does not require the ncerts argument
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index ebed84572c..28605c0187 100644
--- a/src/common.h
+++ b/src/common.h
@@ -44,7 +44,7 @@ GNUTLS_KXAlgorithm kx;
/* in case of X509 PKI
*/
cert_list = gnutls_certificate_get_peers( state, &cert_list_size);
- status = gnutls_x509pki_verify_peers( state);
+ status = gnutls_certificate_verify_peers( state);
switch( status) {
case GNUTLS_CERT_NOT_TRUSTED: