Line 898 in openssl 0.9.6a in apps/ca.c change:

if (!BN_add_word(serial,1)) goto err;

to

if (!BN_add_word(serial,2)) goto err;

Mike

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 26, 2000 11:43 AM
> To: [EMAIL PROTECTED]
> Subject: incrementing serial by 2
> 
> 
> Hi, I'm using openssl as the basis of a CA using req and ca 
> to generate
> request and do signing.  I'd like to test load balancing by 
> round robin DNS
> with two copies of my CA server and want to increment serials 
> by 2 on each
> server so one will do odds and the other evens.
> 
> I've had a cursory look at the code (I'm not a C programmer) 
> and get the
> impression the do_body routine in ca.c does the work but 
> can't figure where
> the increment is happening.  I was hoping for a simple 
> serial++, no luck. 
> 
> Can someone point me to the alteration I need to make to get 
> increments by 2
> of serial numbers please?
> 
> Much appreciated.
> 
> Heath Kitchin.
> 
> 
> --------------------------------------------------------------
> ------------------
> This email and any files transmitted with it are intended 
> solely for the
> addressee(s) and may be legally privileged and/or 
> confidential. If you have
> received this email in error please destroy it and contact 
> the sender, via
> our switchboard on +44 (0)20 7623 8000 or via return e-mail. 
> You should not
> copy, forward or use the contents, attachments or information 
> in any way.
> Any unauthorised use or disclosure may be unlawful. Dresdner Kleinwort
> Benson gives no warranty as to the accuracy or completeness 
> of this email
> after it is sent over the Internet and accepts no 
> responsibility for changes
> made after it was sent. Any opinion expressed in this email 
> may be personal
> to the author and may not necessarily reflect the opinions of 
> the Bank or
> its affiliates. They may also be subject to change without notice.
> --------------------------------------------------------------
> ------------------
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to