Преглед на файлове

ASN.1 print fix.

When printing out an ASN.1 structure, if the type is an item template don't
fall through and attempt to interpret as a primitive type.

(Imported from upstream's 5dc1247a7494f50c88ce7492518bbe0ce6f124fa.)

Change-Id: Ica39757792cbf3f83879953b67838927ddbdb809
Reviewed-on: https://boringssl-review.googlesource.com/4009
Reviewed-by: Adam Langley <agl@google.com>
kris/onging/CECPQ3_patch15
David Benjamin преди 9 години
committed by Adam Langley
родител
ревизия
34860739de
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. +1
    -0
      crypto/asn1/tasn_prn.c

+ 1
- 0
crypto/asn1/tasn_prn.c Целия файл

@@ -229,6 +229,7 @@ static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent,
if (!asn1_template_print_ctx(out, fld, indent,
it->templates, pctx))
return 0;
break;
}
/* fall thru */
case ASN1_ITYPE_MSTRING:


Зареждане…
Отказ
Запис