We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833f507 commit 2758fc3Copy full SHA for 2758fc3
src/pk/asn1/x509/x509_decode_subject_public_key_info.c
@@ -75,6 +75,8 @@ int x509_decode_subject_public_key_info(const unsigned char *in, unsigned long i
75
alg_id_num = 1;
76
} else {
77
LTC_SET_ASN1(alg_id, 1, parameters_type, parameters, *_parameters_len);
78
+ if (parameters_type == LTC_ASN1_NULL)
79
+ alg_id[1].optional = 1;
80
alg_id_num = 2;
81
}
82
0 commit comments