projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a17f351
)
PR: 1841
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 8 Mar 2009 23:05:34 +0000
(23:05 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 8 Mar 2009 23:05:34 +0000
(23:05 +0000)
Submitted by: Martin Kaiser <lists@kaiser.cx>
Reviewed by: steve@openssl.org
Remove unused code.
crypto/asn1/asn_mime.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/asn_mime.c
b/crypto/asn1/asn_mime.c
index bc80b20d6323a1d209d868cd5a419b1e32c8a689..d8d9e76cc06d75ec26bb2d62796b23a5590a9420 100644
(file)
--- a/
crypto/asn1/asn_mime.c
+++ b/
crypto/asn1/asn_mime.c
@@
-152,7
+152,6
@@
static ASN1_VALUE *b64_read_asn1(BIO *bio, const ASN1_ITEM *it)
static int asn1_write_micalg(BIO *out, STACK_OF(X509_ALGOR) *mdalgs)
{
- const EVP_MD *md;
int i, have_unknown = 0, write_comma, md_nid;
have_unknown = 0;
write_comma = 0;
@@
-162,7
+161,6
@@
static int asn1_write_micalg(BIO *out, STACK_OF(X509_ALGOR) *mdalgs)
BIO_write(out, ",", 1);
write_comma = 1;
md_nid = OBJ_obj2nid(sk_X509_ALGOR_value(mdalgs, i)->algorithm);
- md = EVP_get_digestbynid(md_nid);
switch(md_nid)
{
case NID_sha1: