Hi,

I am using an OCSP command to sned ocsp request to my program using
following command  

Openssl ocsp -serial 0x80 -issuer issuer.pem -text -url http://myprogram


When I see the actual DER encoded request which openssl sends, I found
different behaviour for different serial numbers. 

1) When I send the serial number -serial 0x8 the der encoded serial
number is 

02 01 08

2) When I send the serial number 0x81 the der encoded serial number is

02 02 00 81

3) When I send the serial number 0x811 the der encoded serial number is

02 02 08 11

4) When I send the serial number 0x8111 the der encoded serial number is

02 03 00 81 11



The problem here is that in case 2) and 4) there is a extra byte 00
appended in front of the actual serial number given in the command line.

Can any one tell me why the length is being increased and an extra 00 is
added in front of the serial number in this two cases.

It happens foe any serial number starting with hex digit 8 or above and
number of digit in the serial number is even.

Thanks
Bimalendu   
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas J. Hruska
Sent: Wednesday, July 06, 2005 11:51 AM
To: openssl-users@openssl.org
Subject: Re: BC-32 dll

[EMAIL PROTECTED] wrote:
> Hi there, I've finaly compiled 0.9.8 under BCB win32 (Yay!) and now
wondering is there any way do make dlls instead of .libs?

If you are using the default build of OpenSSL:

http://www.slproweb.com/products/Win32OpenSSL.html

It comes with pre-built binaries and libraries of the default build of
OpenSSL to link against for Borland Builder 4/5/6 (AND also works with
the free command line tools).  This project typically lags behind
OpenSSL by a couple days.

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

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

Reply via email to