projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove unreachable code
[oweals/openssl.git]
/
crypto
/
asn1
/
tasn_prn.c
diff --git
a/crypto/asn1/tasn_prn.c
b/crypto/asn1/tasn_prn.c
index cf4c4ab3740f93b36a9fc8f9524e42b452d9df5d..d9f32bd890685e902a71b2eff8e92adc1304ba15 100644
(file)
--- a/
crypto/asn1/tasn_prn.c
+++ b/
crypto/asn1/tasn_prn.c
@@
-533,7
+533,7
@@
static int asn1_primitive_print(BIO *out, ASN1_VALUE **fld,
{
ASN1_TYPE *atype = (ASN1_TYPE *)*fld;
utype = atype->type;
- fld =
(ASN1_VALUE **)&atype->value.ptr
;
+ fld =
&atype->value.asn1_value
;
str = (ASN1_STRING *)*fld;
if (pctx->flags & ASN1_PCTX_FLAGS_NO_ANY_TYPE)
pname = NULL;