projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41450b2
)
exclude disabled message digests
author
Bodo Möller
<bodo@openssl.org>
Mon, 10 Sep 2001 17:18:56 +0000
(17:18 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Mon, 10 Sep 2001 17:18:56 +0000
(17:18 +0000)
apps/progs.h
patch
|
blob
|
history
apps/progs.pl
patch
|
blob
|
history
diff --git
a/apps/progs.h
b/apps/progs.h
index 610f21efb0f63b4f7186e876eb6c277591db54df..752385d3a735440a629c54f8db9ebc5bb464df85 100644
(file)
--- a/
apps/progs.h
+++ b/
apps/progs.h
@@
-113,13
+113,27
@@
FUNCTION functions[] = {
{FUNC_TYPE_GENERAL,"rand",rand_main},
{FUNC_TYPE_GENERAL,"engine",engine_main},
{FUNC_TYPE_GENERAL,"ocsp",ocsp_main},
{FUNC_TYPE_GENERAL,"rand",rand_main},
{FUNC_TYPE_GENERAL,"engine",engine_main},
{FUNC_TYPE_GENERAL,"ocsp",ocsp_main},
+#ifndef OPENSSL_NO_MD2
{FUNC_TYPE_MD,"md2",dgst_main},
{FUNC_TYPE_MD,"md2",dgst_main},
+#endif
+#ifndef OPENSSL_NO_MD4
{FUNC_TYPE_MD,"md4",dgst_main},
{FUNC_TYPE_MD,"md4",dgst_main},
+#endif
+#ifndef OPENSSL_NO_MD5
{FUNC_TYPE_MD,"md5",dgst_main},
{FUNC_TYPE_MD,"md5",dgst_main},
+#endif
+#ifndef OPENSSL_NO_SHA
{FUNC_TYPE_MD,"sha",dgst_main},
{FUNC_TYPE_MD,"sha",dgst_main},
+#endif
+#ifndef OPENSSL_NO_SHA1
{FUNC_TYPE_MD,"sha1",dgst_main},
{FUNC_TYPE_MD,"sha1",dgst_main},
+#endif
+#ifndef OPENSSL_NO_MDC2
{FUNC_TYPE_MD,"mdc2",dgst_main},
{FUNC_TYPE_MD,"mdc2",dgst_main},
+#endif
+#ifndef OPENSSL_NO_RMD160
{FUNC_TYPE_MD,"rmd160",dgst_main},
{FUNC_TYPE_MD,"rmd160",dgst_main},
+#endif
#ifndef OPENSSL_NO_AES
{FUNC_TYPE_CIPHER,"aes-128-cbc",enc_main},
#endif
#ifndef OPENSSL_NO_AES
{FUNC_TYPE_CIPHER,"aes-128-cbc",enc_main},
#endif
diff --git
a/apps/progs.pl
b/apps/progs.pl
index 1eed87390c6243cac55be32234cc43cfcdabf8af..d6a40edb91d2a87ee7cb1f7566d87b19b5bb6041 100644
(file)
--- a/
apps/progs.pl
+++ b/
apps/progs.pl
@@
-44,7
+44,7
@@
foreach (@ARGV)
foreach ("md2","md4","md5","sha","sha1","mdc2","rmd160")
{
push(@files,$_);
foreach ("md2","md4","md5","sha","sha1","mdc2","rmd160")
{
push(@files,$_);
- printf "
\t{FUNC_TYPE_MD,\"%s\",dgst_main},\n",$_
;
+ printf "
#ifndef OPENSSL_NO_".uc($_)."\n\t{FUNC_TYPE_MD,\"".$_."\",dgst_main},\n#endif\n"
;
}
foreach (
}
foreach (