HI!

There is a difference when displaying the modulus with command-line tool.
Here's the relevant excerpt of the following command:

openssl x509 -noout -text -modulus -in cert.pem
[..]
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:
                    00:ba:ab:09:cb:2c:51:7b:d7:b2:bc:70:12:44:b5:
                    c1:36:64:a5:78:c3:63:b2:d0:24:72:52:8a:8f:c3:
[..]
Modulus=BAAB09CB2C517BD7B2BC7 [..]

In the output generated by -text there's an extra null-byte at the beginning.
The rest is the same. Why is this null-byte there?

Ciao, Michael.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to