forked from Mirrors/wine-wine
secur32: Don't use deprecated gnutls_certificate_credentials.
parent
faeb9a5bfc
commit
6c2f7d01c8
|
@ -441,7 +441,7 @@ again:
|
||||||
|
|
||||||
BOOL schan_imp_allocate_certificate_credentials(schan_credentials *c)
|
BOOL schan_imp_allocate_certificate_credentials(schan_credentials *c)
|
||||||
{
|
{
|
||||||
int ret = pgnutls_certificate_allocate_credentials((gnutls_certificate_credentials*)&c->credentials);
|
int ret = pgnutls_certificate_allocate_credentials((gnutls_certificate_credentials_t*)&c->credentials);
|
||||||
if (ret != GNUTLS_E_SUCCESS)
|
if (ret != GNUTLS_E_SUCCESS)
|
||||||
pgnutls_perror(ret);
|
pgnutls_perror(ret);
|
||||||
return (ret == GNUTLS_E_SUCCESS);
|
return (ret == GNUTLS_E_SUCCESS);
|
||||||
|
|
Loading…
Reference in New Issue