projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generate just one error code if iterated SSL_CTX_get() fails.
[oweals/openssl.git]
/
crypto
/
pkcs7
/
sign.c
diff --git
a/crypto/pkcs7/sign.c
b/crypto/pkcs7/sign.c
index 61dc2b187e14da29f03570b7fbb717bb10bb4c0d..22290e192ccfb15b36e78d47e5a8a63f9ecf113b 100644
(file)
--- a/
crypto/pkcs7/sign.c
+++ b/
crypto/pkcs7/sign.c
@@
-56,6
+56,7
@@
* [including the GNU Public Licence.]
*/
#include <stdio.h>
* [including the GNU Public Licence.]
*/
#include <stdio.h>
+#include <string.h>
#include <openssl/bio.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
#include <openssl/bio.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
@@
-75,10
+76,18
@@
char *argv[];
int i;
int nodetach=0;
int i;
int nodetach=0;
+#ifndef NO_MD2
EVP_add_digest(EVP_md2());
EVP_add_digest(EVP_md2());
+#endif
+#ifndef NO_MD5
EVP_add_digest(EVP_md5());
EVP_add_digest(EVP_md5());
+#endif
+#ifndef NO_SHA1
EVP_add_digest(EVP_sha1());
EVP_add_digest(EVP_sha1());
+#endif
+#ifndef NO_MDC2
EVP_add_digest(EVP_mdc2());
EVP_add_digest(EVP_mdc2());
+#endif
data=BIO_new(BIO_s_file());
again:
data=BIO_new(BIO_s_file());
again: