diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-05-27 01:43:56 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-05-27 01:43:56 +0000 |
commit | 83a03c54abe2f669f1a376da4b4d396121d531df (patch) | |
tree | e1e87d2b23321662f0ffe2cf18eed7cd366d3ffc /lib/gnutls_ui.c | |
parent | 5d65638961aab75ec81dc56801b8adf4df740b30 (diff) | |
download | gnutls-83a03c54abe2f669f1a376da4b4d396121d531df.tar.gz |
eliminated some warnings.
Diffstat (limited to 'lib/gnutls_ui.c')
-rw-r--r-- | lib/gnutls_ui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c index f825237da7..e3e029185c 100644 --- a/lib/gnutls_ui.c +++ b/lib/gnutls_ui.c @@ -368,7 +368,8 @@ const gnutls_datum_t *gnutls_certificate_get_ours(gnutls_session_t session) CHECK_AUTH(GNUTLS_CRD_CERTIFICATE, NULL); - cred = _gnutls_get_cred(session->key, GNUTLS_CRD_CERTIFICATE, NULL); + cred = (gnutls_certificate_credentials_t) + _gnutls_get_cred(session->key, GNUTLS_CRD_CERTIFICATE, NULL); if (cred == NULL || cred->cert_list == NULL) { gnutls_assert(); return NULL; |