Skip to content

Commit 59c14cd

Browse files
Allow setting SetLength and SetSequence to public APIs by adding them to ASN APIs.
1 parent 3753f69 commit 59c14cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolfssl/wolfcrypt/asn.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2485,11 +2485,11 @@ WOLFSSL_LOCAL word32 SetASNImplicit(byte tag,byte number, word32 len,
24852485
WOLFSSL_LOCAL word32 SetASNExplicit(byte number, word32 len, byte* output);
24862486
WOLFSSL_LOCAL word32 SetASNSet(word32 len, byte* output);
24872487

2488-
WOLFSSL_LOCAL word32 SetLength(word32 length, byte* output);
2488+
WOLFSSL_ASN_API word32 SetLength(word32 length, byte* output);
24892489
WOLFSSL_LOCAL word32 SetLengthEx(word32 length, byte* output, byte isIndef);
24902490
WOLFSSL_LOCAL word32 SetHeader(byte tag, word32 len, byte* output,
24912491
byte isIndef);
2492-
WOLFSSL_LOCAL word32 SetSequence(word32 len, byte* output);
2492+
WOLFSSL_ASN_API word32 SetSequence(word32 len, byte* output);
24932493
WOLFSSL_LOCAL word32 SetSequenceEx(word32 len, byte* output, byte isIndef);
24942494
WOLFSSL_LOCAL word32 SetIndefEnd(byte* output);
24952495
WOLFSSL_LOCAL word32 SetOctetString(word32 len, byte* output);

0 commit comments

Comments
 (0)