Commit 62e77128 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

secur32: Get rid of deprecated types.

parent b52118d5
...@@ -129,7 +129,7 @@ BOOL schan_imp_create_session(schan_imp_session *session, BOOL is_server, ...@@ -129,7 +129,7 @@ BOOL schan_imp_create_session(schan_imp_session *session, BOOL is_server,
} }
err = pgnutls_credentials_set(*s, GNUTLS_CRD_CERTIFICATE, err = pgnutls_credentials_set(*s, GNUTLS_CRD_CERTIFICATE,
(gnutls_certificate_credentials)cred); (gnutls_certificate_credentials_t)cred);
if (err != GNUTLS_E_SUCCESS) if (err != GNUTLS_E_SUCCESS)
{ {
pgnutls_perror(err); pgnutls_perror(err);
...@@ -409,7 +409,7 @@ BOOL schan_imp_allocate_certificate_credentials(schan_imp_certificate_credential ...@@ -409,7 +409,7 @@ BOOL schan_imp_allocate_certificate_credentials(schan_imp_certificate_credential
void schan_imp_free_certificate_credentials(schan_imp_certificate_credentials c) void schan_imp_free_certificate_credentials(schan_imp_certificate_credentials c)
{ {
pgnutls_certificate_free_credentials((gnutls_certificate_credentials)c); pgnutls_certificate_free_credentials((gnutls_certificate_credentials_t)c);
} }
static void schan_gnutls_log(int level, const char *msg) static void schan_gnutls_log(int level, const char *msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment