Skip to content

Properly create ctypes binding for openssl/types.h/BIGNUM#3

Open
glyh wants to merge 1 commit intoo1-labs:o1labsfrom
glyh:lyh/properly-typed-bignum
Open

Properly create ctypes binding for openssl/types.h/BIGNUM#3
glyh wants to merge 1 commit intoo1-labs:o1labsfrom
glyh:lyh/properly-typed-bignum

Conversation

@glyh
Copy link
Copy Markdown
Member

@glyh glyh commented Mar 24, 2026

As title.

Confirmed this is working by following #2 (comment)

open Ctypes
type stub
type t = stub structure ptr
let t_raw : stub structure typ = structure "bignum_st"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference, openssl/types.h has this line:

typedef struct bignum_st BIGNUM;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant