fixed tag of auxiliary data payload
This commit is contained in:
@@ -253,10 +253,10 @@ static int add_to_ASN1_AUXILIARY_DATA(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (data && data_len) {
|
if (data && data_len) {
|
||||||
(*template)->discretionary_data1 = ASN1_OCTET_STRING_new();
|
(*template)->discretionary_data3 = ASN1_OCTET_STRING_new();
|
||||||
if (!(*template)->discretionary_data1
|
if (!(*template)->discretionary_data3
|
||||||
|| !M_ASN1_OCTET_STRING_set(
|
|| !M_ASN1_OCTET_STRING_set(
|
||||||
(*template)->discretionary_data1, data, data_len)) {
|
(*template)->discretionary_data3, data, data_len)) {
|
||||||
r = SC_ERROR_INTERNAL;
|
r = SC_ERROR_INTERNAL;
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user