projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no need to cast away the const
[oweals/openssl.git]
/
apps
/
progs.h
diff --git
a/apps/progs.h
b/apps/progs.h
index 131a721a3920ab8fa92d9ce72eadaccdb5da6a40..8bfd616d99f108f58037bf8cfd19f7d4a0838c55 100644
(file)
--- a/
apps/progs.h
+++ b/
apps/progs.h
@@
-37,10
+37,10
@@
extern int pkcs8_main(int argc,char *argv[]);
extern int spkac_main(int argc,char *argv[]);
extern int smime_main(int argc,char *argv[]);
extern int rand_main(int argc,char *argv[]);
extern int spkac_main(int argc,char *argv[]);
extern int smime_main(int argc,char *argv[]);
extern int rand_main(int argc,char *argv[]);
-#ifndef OPENSSL_NO_ENGINE
extern int engine_main(int argc,char *argv[]);
extern int engine_main(int argc,char *argv[]);
-#endif
extern int ocsp_main(int argc,char *argv[]);
extern int ocsp_main(int argc,char *argv[]);
+extern int prime_main(int argc,char *argv[]);
+extern int ts_main(int argc,char *argv[]);
#define FUNC_TYPE_GENERAL 1
#define FUNC_TYPE_MD 2
#define FUNC_TYPE_GENERAL 1
#define FUNC_TYPE_MD 2
@@
-48,8
+48,8
@@
extern int ocsp_main(int argc,char *argv[]);
typedef struct {
int type;
typedef struct {
int type;
- char *name;
- int (*func)();
+ c
onst c
har *name;
+ int (*func)(
int argc,char *argv[]
);
} FUNCTION;
FUNCTION functions[] = {
} FUNCTION;
FUNCTION functions[] = {
@@
-127,6
+127,8
@@
FUNCTION functions[] = {
{FUNC_TYPE_GENERAL,"engine",engine_main},
#endif
{FUNC_TYPE_GENERAL,"ocsp",ocsp_main},
{FUNC_TYPE_GENERAL,"engine",engine_main},
#endif
{FUNC_TYPE_GENERAL,"ocsp",ocsp_main},
+ {FUNC_TYPE_GENERAL,"prime",prime_main},
+ {FUNC_TYPE_GENERAL,"ts",ts_main},
#ifndef OPENSSL_NO_MD2
{FUNC_TYPE_MD,"md2",dgst_main},
#endif
#ifndef OPENSSL_NO_MD2
{FUNC_TYPE_MD,"md2",dgst_main},
#endif