Skip to content

Commit

Permalink
[crypto] Expose asn1_grow()
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Jun 20, 2017
1 parent 5b608bb commit e5bfa10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/asn1.c
Expand Up @@ -739,7 +739,7 @@ static size_t asn1_header ( struct asn1_builder_header *header,
* @v extra Extra space to prepend
* @ret rc Return status code
*/
static int asn1_grow ( struct asn1_builder *builder, size_t extra ) {
int asn1_grow ( struct asn1_builder *builder, size_t extra ) {
size_t new_len;
void *new;

Expand Down
1 change: 1 addition & 0 deletions src/include/ipxe/asn1.h
Expand Up @@ -365,6 +365,7 @@ extern int asn1_signature_algorithm ( const struct asn1_cursor *cursor,
struct asn1_algorithm **algorithm );
extern int asn1_generalized_time ( const struct asn1_cursor *cursor,
time_t *time );
extern int asn1_grow ( struct asn1_builder *builder, size_t extra );
extern int asn1_prepend_raw ( struct asn1_builder *builder, const void *data,
size_t len );
extern int asn1_prepend ( struct asn1_builder *builder, unsigned int type,
Expand Down

0 comments on commit e5bfa10

Please sign in to comment.