This solved the warning.
Thanks

Silvia G. Pavón V.
Procesos de Facturación
Alestra S.A.
Tel. 8748 6100 x4107


                                                                       
             Goetz Babin-Ebell                                         
             <[EMAIL PROTECTED]                                         
             de>                                                        To
             Sent by:                  openssl-users@openssl.org       
             owner-openssl-use                                          cc
             [EMAIL PROTECTED]                                            
                                                                   Subject
                                       Re: EVP_SignFinal third parameter
             27/05/2005 08:01          type                            
             p.m.                                                      
                                                                       
                                                                       
             Please respond to                                         
             [EMAIL PROTECTED]                                         
                 nssl.org                                              
                                                                       
                                                                       




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


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to