Skip to content

Commit 6702754

Browse files
committed
No need to check input args on internal APIs.
They will only be called with valid args.
1 parent 066526e commit 6702754

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/pk/asn1/x509/x509_extensions.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,8 +590,6 @@ int x509_get_extensions(const ltc_asn1_list *seq, ltc_x509_extensions *extension
590590
ltc_asn1_list *cur;
591591
unsigned long cur_num = 0;
592592
int err;
593-
LTC_ARGCHK(seq != NULL);
594-
LTC_ARGCHK(extensions != NULL);
595593
if (seq->type != LTC_ASN1_SEQUENCE)
596594
return CRYPT_INVALID_PACKET;
597595
cur = seq->child;

0 commit comments

Comments
 (0)