error: "bad magic number"

2002-10-04 Thread Berg, Chris
Hello. I am attempting to generate a certificate to be used to secure imap traffic between clients and the server. I have followed the certificate authority's instructions and received a certificate. The problem is that I generated the private key with the command: openssl genrsa -des3 -rand [ra

Re: error: "bad magic number"

2002-10-04 Thread Dr. Stephen Henson
On Fri, Oct 04, 2002, Berg, Chris wrote: > Hello. > > I am attempting to generate a certificate to be used to secure imap > traffic between clients and the server. > I have followed the certificate authority's instructions and received a > certificate. > > The problem is that I generated the pr

Re: BN_CTX_start()

2002-10-04 Thread Sisyphus
- Original Message - From: "Nils Larsch" <[EMAIL PROTECTED]> > > > > BN_mod_exp() will calculate: > > r = (a^p) % m > > I don't think it permits calculation of: > > a = (a^p) %m > > use a extra variable : > BIGNUM *tmp = BN_dup(a); > if (!BN_mod_exp(a, tmp, p, m, ctx)) goto err; > BN_fre