diff options
author | Pauli <paul.dale@oracle.com> | 2020-12-01 11:13:08 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-12-03 11:21:33 +1000 |
commit | 7b42408756f53d38022363e2f0ac999db7d23a65 (patch) | |
tree | 0f6b7ed81a98fc645fca03c529d9c27f0fe79381 /crypto/asn1 | |
parent | 30742e8e7f93f58964bf7619f9c1783e6b3b03fc (diff) |
remove unused assignments
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13577)
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/asn1_par.c | 4 | ||||
-rw-r--r-- | crypto/asn1/tasn_dec.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c index b2a1b3a27d..cf6d48ce10 100644 --- a/crypto/asn1/asn1_par.c +++ b/crypto/asn1/asn1_par.c @@ -72,10 +72,8 @@ static int asn1_print_info(BIO *bp, long offset, int depth, int hl, long len, if (saved_indent >= 0) BIO_set_indent(bp, saved_indent); if (pop_f_prefix) { - BIO *next = BIO_pop(bp); - + BIO_pop(bp); BIO_free(bp); - bp = next; } return i; } diff --git a/crypto/asn1/tasn_dec.c b/crypto/asn1/tasn_dec.c index 3fbf168558..09adbf5d07 100644 --- a/crypto/asn1/tasn_dec.c +++ b/crypto/asn1/tasn_dec.c @@ -344,7 +344,6 @@ static int asn1_item_embed_d2i(ASN1_VALUE **pval, const unsigned char **in, } len -= p - q; seq_eoc = 0; - q = p; break; } /* @@ -519,7 +518,6 @@ static int asn1_template_noexp_d2i(ASN1_VALUE **val, aclass = flags & ASN1_TFLG_TAG_CLASS; p = *in; - q = p; /* * If field is embedded then val needs fixing so it is a pointer to |