(info): new function, prints info about that default modules are in use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17182 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -344,6 +344,9 @@ command = {
|
|||||||
argument="certificates ..."
|
argument="certificates ..."
|
||||||
help = "Query the certificates for a match"
|
help = "Query the certificates for a match"
|
||||||
}
|
}
|
||||||
|
command = {
|
||||||
|
name = "info"
|
||||||
|
}
|
||||||
command = {
|
command = {
|
||||||
name = "help"
|
name = "help"
|
||||||
name = "?"
|
name = "?"
|
||||||
|
@@ -902,6 +902,23 @@ pkcs10_print(struct pkcs10_print_options *opt, int argc, char **argv)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
info(void *opt, int argc, char **argv)
|
||||||
|
{
|
||||||
|
|
||||||
|
ENGINE_add_conf_module();
|
||||||
|
|
||||||
|
{
|
||||||
|
const RSA_METHOD *rsamethod;
|
||||||
|
rsamethod = RSA_get_default_method();
|
||||||
|
if (rsamethod != NULL)
|
||||||
|
printf("rsa: %s\n", rsamethod->name);
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
help(void *opt, int argc, char **argv)
|
help(void *opt, int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user