summaryrefslogtreecommitdiff
path: root/lib/auth_rsa.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2005-05-27 01:43:56 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2005-05-27 01:43:56 +0000
commit83a03c54abe2f669f1a376da4b4d396121d531df (patch)
treee1e87d2b23321662f0ffe2cf18eed7cd366d3ffc /lib/auth_rsa.c
parent5d65638961aab75ec81dc56801b8adf4df740b30 (diff)
downloadgnutls-83a03c54abe2f669f1a376da4b4d396121d531df.tar.gz
eliminated some warnings.
Diffstat (limited to 'lib/auth_rsa.c')
-rw-r--r--lib/auth_rsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/auth_rsa.c b/lib/auth_rsa.c
index 04f816dc3c..662cbf6f4d 100644
--- a/lib/auth_rsa.c
+++ b/lib/auth_rsa.c
@@ -145,7 +145,8 @@ int _gnutls_get_private_rsa_params(gnutls_session_t session,
gnutls_certificate_credentials_t cred;
gnutls_rsa_params_t rsa_params;
- 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) {
gnutls_assert();
return GNUTLS_E_INSUFFICIENT_CREDENTIALS;