Silvia Gisela Pavon Velasco wrote:
Nils,
Hello Silvia,
I changed to %d instead of %s it worked =)But althougth I changed the declaration of the third argument to: unsigned int *bytes_firma; I'm still getting the warning at compilation time. If I let: unsigned int *bytes_firma; and err = EVP_SignFinal(&ctx, firma, bytes_firma, clave_EVP);
the third parameter is an IO parameter: unsigned int bytes_firma = EVP_PKEY_size(clave_EVP); unsigned char *firma = malloc(bytes_firma); [...] err = EVP_SignFinal(&ctx,firma,&bytes_firma,clave_EVP); [...] Bye Goetz -- DMCA: The greed of the few outweighs the freedom of the many
smime.p7s
Description: S/MIME Cryptographic Signature