On Mon, Jul 19, 2004, Joe smith wrote:
> My fault Dr. Henson. The segmentation fault exists in the statement:
> err = EVP_PBE_CipherInit (alg->algorithm, passwd, strlen(passwd),
> alg->parameter, &ctx, 1);
>
> Once again the code is a shortened version of the actual encrypt/decrypt
> code.
>
My fault Dr. Henson. The segmentation fault exists in the statement: err = EVP_PBE_CipherInit (alg->algorithm, passwd, strlen(passwd), alg->parameter, &ctx, 1);
Once again the code is a shortened version of the actual encrypt/decrypt code.
int main()
{
EVP_CIPHER_CTX ctx;
On Mon, Jul 19, 2004, Joe smith wrote:
> Hi,
> I tried modifying the code and now I get a segmentation fault on this line:
>
> err = EVP_CipherUpdate (&ctx, enc_buff, &bytes_enc, message, strlen(message));
>
[code snipped]
Hard to say since the call to EVP_CipherUpdate() isn't included. If enc
Hi,
I tried modifying the code and now I get a segmentation fault on this line:
err = EVP_CipherUpdate (&ctx, enc_buff, &bytes_enc, message, strlen(message));
Here is the code:
#include
#include
#include
#include
#include
int main()
{
EVP_CIPHER_CTX ctx;
X509_ALGOR *alg=NULL;
unsigned char *p
On Fri, Jul 16, 2004, Joe smith wrote:
> Hi:
[code snipped]
> But i am getting the following error:
>
> 1536:error:06074079:lib(6):func(116):reason(121):evp_pbe.c:89:TYPE=PBES2
>
> Any suggestions?
>
The FAQ? This is another incarnation of:
http://www.openssl.org/support/faq.html#PROG6
http