diff options
| author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-01-29 12:54:48 +0000 |
|---|---|---|
| committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-01-29 12:54:48 +0000 |
| commit | 6816697f04755b91159d36d0b83de4f48ff0581c (patch) | |
| tree | 714ea0b7382cf69baad25ceb3a72cacb43883f06 | |
| parent | 4e2e9175bc8115df1a2d426b6376983de3bfe59c (diff) | |
| download | gnutls_0_3_4.tar.gz | |
corrected bug in server certificate callback.gnutls_0_3_4
| -rw-r--r-- | lib/auth_x509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth_x509.c b/lib/auth_x509.c index 18f5c82e89..c05716c53c 100644 --- a/lib/auth_x509.c +++ b/lib/auth_x509.c @@ -1328,7 +1328,7 @@ int _gnutls_server_find_x509_cert_list_index(GNUTLS_STATE state, if (cred->ncerts > 0) index = 0; /* default is use the first certificate */ - if (state->gnutls_internals.client_cert_callback != NULL && cred->ncerts > 0) { /* use the callback to get certificate */ + if (state->gnutls_internals.server_cert_callback != NULL && cred->ncerts > 0) { /* use the callback to get certificate */ gnutls_datum *my_certs = NULL; my_certs = |
