| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- diff --git a/dlls/bcrypt/gnutls.c b/dlls/bcrypt/gnutls.c
- index 6afa558..37d5c33 100644
- --- a/dlls/bcrypt/gnutls.c
- +++ b/dlls/bcrypt/gnutls.c
- @@ -1031,7 +1031,7 @@ NTSTATUS get_gnutls_ecc_key_params(
-
- int ret;
-
- - if ((ret = pgnutls_privkey_export_ecc_raw( key->u.a.handle, &curve, x, y, d )))
- + if ((ret = pgnutls_privkey_export_ecc_raw( key->u.a.handle, curve, x, y, d )))
- {
- FIXME("pgnutls_privkey_export_ecc_raw: %s\n", pgnutls_strerror(ret));
- return STATUS_INTERNAL_ERROR;
- diff --git a/dlls/bcrypt/secrets.c b/dlls/bcrypt/secrets.c
- index a3f7922..c8a88f0 100644
- --- a/dlls/bcrypt/secrets.c
- +++ b/dlls/bcrypt/secrets.c
- @@ -24,6 +24,11 @@
-
- #include <openssl/err.h>
- #include <openssl/ec.h>
- +
- +#include <gnutls/abstract.h>
- +NTSTATUS get_gnutls_ecc_key_params(BCRYPT_KEY_HANDLE hKey,
- + gnutls_ecc_curve_t *curve,
- + gnutls_datum_t *x, gnutls_datum_t *y, gnutls_datum_t *d);
- #include <openssl/bn.h>
- #include <openssl/evp.h>
- #include <openssl/kdf.h>
- @@ -236,8 +241,8 @@ int ecc_sign(
- return -1;
- }
-
- - BIGNUM *r = NULL;
- - BIGNUM *s = NULL;
- + const BIGNUM *r = NULL;
- + const BIGNUM *s = NULL;
-
- pECDSA_SIG_get0(sig, &r, &s);
-
- diff --git a/dlls/crypt32/crypt32_private.h b/dlls/crypt32/crypt32_private.h
- index 3d0129e..d92eb1a 100644
- --- a/dlls/crypt32/crypt32_private.h
- +++ b/dlls/crypt32/crypt32_private.h
- @@ -152,7 +152,7 @@ BOOL WINAPI CRYPT_AsnEncodePubKeyInfoNoNull(DWORD dwCertEncodingType,
- */
- HCRYPTPROV WINAPI I_CryptGetDefaultCryptProv(ALG_ID);
-
- -HINSTANCE hInstance DECLSPEC_HIDDEN;
- +extern HINSTANCE hInstance DECLSPEC_HIDDEN;
-
- void crypt_oid_init(void) DECLSPEC_HIDDEN;
- void crypt_oid_free(void) DECLSPEC_HIDDEN;
|