Hello all, I'm writting a C program to sign a char[] with the following code:
==========================================================
FILE *pKeyFile = fopen("srv-key.pem", "r");
RSA *rsa_key = NULL;
rsa_key = PEM_read_RSAPrivateKey(pKeyFile, NULL, NULL, NULL);
char firma_aux[256];
int firma_aux_len;
int ret = RSA_sign(NID_sha1WithRSA, message, 144, firma_aux, &firma_aux_len, rsa_key);
==========================================================
and I get this error error:04075070:lib(4):func(117):reason(112).


Can anybody tell me what it means?

Thanks in advance.

--
=======================================================
Manuel Sanchez Cuenca
Dept. Ingenieria de la Informacion y las Comunicaciones
Universidad de Murcia - España
Tlf: +34 968364644 - Fax: 968364151
email: [EMAIL PROTECTED]
www: http://livia.dif.um.es/~lolo
www: http://livia.dif.um.es/~irisgrid


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

Reply via email to