libopensc: avoid warning "missing braces around initializer"

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5524 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
vtarasov 2011-05-29 18:47:44 +00:00
parent bf830d63da
commit b21e04f42a
1 changed files with 2 additions and 2 deletions

View File

@ -473,8 +473,8 @@ sc_pkcs15_decode_pubkey_gostr3410(sc_context_t *ctx,
{
struct sc_asn1_entry asn1_gostr3410_pub_coeff[2];
int r;
struct sc_object_id param_key = { 1, 2, 643, 2, 2, 35, 1, -1};
struct sc_object_id param_hash = { 1, 2, 643, 2, 2, 30, 1, -1};
struct sc_object_id param_key = {{ 1, 2, 643, 2, 2, 35, 1, -1}};
struct sc_object_id param_hash = {{ 1, 2, 643, 2, 2, 30, 1, -1}};
sc_copy_asn1_entry(c_asn1_gostr3410_pub_coefficients, asn1_gostr3410_pub_coeff);
sc_format_asn1_entry(asn1_gostr3410_pub_coeff + 0, &key->xy.data, &key->xy.len, 0);