fixed compiler warnings

This commit is contained in:
Martin Willi
2006-07-05 10:09:42 +00:00
parent 57d02978cf
commit b12af2ead6
8 changed files with 26 additions and 30 deletions
@@ -30,6 +30,7 @@
#include <crypto/hashers/hasher.h>
#include <asn1/asn1.h>
#include <asn1/pem.h>
/*
* For simplicity, we use these predefined values for hash algorithm OIDs
@@ -323,7 +324,7 @@ static status_t save_key(const private_rsa_public_key_t *this, char *file)
*/
static mpz_t *get_modulus(const private_rsa_public_key_t *this)
{
return &this->n;
return (mpz_t*)&this->n;
}
/**