rename according to currently still valid rules

This commit is contained in:
Steffen Jaeckel 2020-06-20 12:43:08 +02:00
parent cac400cf79
commit 561d4ab8e8

View File

@ -42,7 +42,7 @@ static int _new_element(ltc_asn1_list **l)
@param depth The depth/level of decoding recursion we've already reached
@return CRYPT_OK on success.
*/
static int s_der_decode_sequence_flexi(const unsigned char *in, unsigned long *inlen, ltc_asn1_list **out, unsigned long depth)
static int _der_decode_sequence_flexi(const unsigned char *in, unsigned long *inlen, ltc_asn1_list **out, unsigned long depth)
{
ltc_asn1_list *l;
unsigned long err, identifier, len, totlen, data_offset, id_len, len_len;
@ -453,7 +453,7 @@ static int s_der_decode_sequence_flexi(const unsigned char *in, unsigned long *i
len_len = len;
/* Sequence elements go as child */
if ((err = s_der_decode_sequence_flexi(in, &len, &(l->child), depth+1)) != CRYPT_OK) {
if ((err = _der_decode_sequence_flexi(in, &len, &(l->child), depth+1)) != CRYPT_OK) {
goto error;
}
if (len_len != len) {
@ -540,7 +540,7 @@ error:
*/
int der_decode_sequence_flexi(const unsigned char *in, unsigned long *inlen, ltc_asn1_list **out)
{
return s_der_decode_sequence_flexi(in, inlen, out, 0);
return _der_decode_sequence_flexi(in, inlen, out, 0);
}
#endif