diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-05-31 21:01:25 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-05-31 21:01:25 +0000 |
commit | 35865d51c9939744569e6df25c64a1d6723e224b (patch) | |
tree | 9e588200bfd9e6f7584549c8f6dd0c518c194e97 /lib/x509/mpi.c | |
parent | 8c3aea6ae9f7533344845098937dd260c1685d86 (diff) | |
download | gnutls-35865d51c9939744569e6df25c64a1d6723e224b.tar.gz |
fixed some type conflicts.
Diffstat (limited to 'lib/x509/mpi.c')
-rw-r--r-- | lib/x509/mpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/mpi.c b/lib/x509/mpi.c index 0ef4b68287..280aa794f5 100644 --- a/lib/x509/mpi.c +++ b/lib/x509/mpi.c @@ -346,7 +346,7 @@ int _gnutls_x509_write_sig_params(ASN1_TYPE dst, const char *dst_name, _gnutls_str_cpy(name, sizeof(name), dst_name); _gnutls_str_cat(name, sizeof(name), ".algorithm"); - pk = _gnutls_x509_sign_to_oid(pk_algorithm, dig); + pk = _gnutls_x509_sign_to_oid(pk_algorithm, HASH2MAC(dig)); if (pk == NULL) { gnutls_assert(); return GNUTLS_E_INVALID_REQUEST; |