Make `openssl x509 -noout -modulus' functional also for DSA certificates (in
authorRalf S. Engelschall <rse@openssl.org>
Wed, 24 Feb 1999 17:17:31 +0000 (17:17 +0000)
committerRalf S. Engelschall <rse@openssl.org>
Wed, 24 Feb 1999 17:17:31 +0000 (17:17 +0000)
commit7be304acdb36feddccb2b1d324c67fd1cefdfe2a
treed0057c0c63be3008c7fd9a7e83447a43f5611655
parent6b313a7365defc2334430284455e535adbb8e9f4
Make `openssl x509 -noout -modulus' functional also for DSA certificates (in
addition to RSA certificates) to match the behaviour of `openssl dsa -noout
-modulus' as it's already the case for `openssl rsa -noout -modulus'.  For RSA
the -modulus is the real "modulus" while for DSA currently the public key is
printed (a decision which was already done by `openssl dsa -modulus' in the
past) which serves a similar purpose.  Additionally the NO_RSA no longer
completely removes the whole -modulus option; it now only avoids using the RSA
stuff. Same applies to NO_DSA now, too.
CHANGES
apps/x509.c