diff options
author | Stef Walter <stefw@gnome.org> | 2013-02-11 20:29:02 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-02-11 20:29:02 +0100 |
commit | 077fd91bed34bb6226e0a43a26f9e546372db54a (patch) | |
tree | 8eb8907ded61548bd76e6aa4cb9eaa3c4825ee20 | |
parent | 828df42b98fa0ffc1695db8af9bd0bd03f2583bc (diff) |
Remove unnecessary code to be more compatible with various libtasn1 versions
https://bugs.freedesktop.org/show_bug.cgi?id=60434
-rw-r--r-- | common/asn1.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/asn1.c b/common/asn1.c index 3df56d9..4f650ee 100644 --- a/common/asn1.c +++ b/common/asn1.c @@ -165,7 +165,6 @@ p11_asn1_encode (node_asn *asn, size_t *der_len) { char message[ASN1_MAX_ERROR_DESCRIPTION_SIZE]; - struct asn1_data_node data = { NULL, }; unsigned char *der; int len; int ret; @@ -184,9 +183,7 @@ p11_asn1_encode (node_asn *asn, } if (ret != ASN1_SUCCESS) { - asn1_read_node_value (asn, &data); - p11_debug_precond ("failed to encode %s: %s\n", - data.name ? data.name : "(unknown)", message); + p11_debug_precond ("failed to encode: %s\n", message); return NULL; } |