Re: problem with EVP_SealInit

2003-07-17 Thread Dr. Stephen Henson
On Thu, Jul 17, 2003, Reza Curtmola wrote: > My problem is that when I do public encryption, the first time I run the > following piece of code, it works OK, but then when I run the program for > the second time, the EVP_SealInit function fails and returns -1. > > I seed the random number generat

problem with EVP_SealInit

2003-07-17 Thread Reza Curtmola
My problem is that when I do public encryption, the first time I run the following piece of code, it works OK, but then when I run the program for the second time, the EVP_SealInit function fails and returns -1. I seed the random number generator before calling the following piece of code. EVP_CI