Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft committed Jun 7, 2024
1 parent 782869d commit 7b7292b
Show file tree
Hide file tree
Showing 35 changed files with 1,716 additions and 625 deletions.
6 changes: 6 additions & 0 deletions bindings/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ incremental = false
lto = true
codegen-units = 1
incremental = false

[profile.fuzz]
inherits = "dev"
opt-level = 3
incremental = false
codegen-units = 1
2 changes: 1 addition & 1 deletion crypto/s2n_certificate.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ struct s2n_cert_chain_and_key {
void *context;
};

struct certs_by_type {
struct s2n_certs_by_type {
struct s2n_cert_chain_and_key *certs[S2N_CERT_TYPE_COUNT];
};

Expand Down
3 changes: 3 additions & 0 deletions error/s2n_errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ struct s2n_debug_info {
extern __thread struct s2n_debug_info _s2n_debug_info;
void _s2n_debug_info_set(struct s2n_debug_info debug_info);

#define S2N_ERRNO_GET() s2n_errno
#define S2N_ERRNO_SET(v) do { s2n_errno = v; } while (0)

#define TO_STRING(s) #s
#define STRING_(s) TO_STRING(s)
#define STRING__LINE__ STRING_(__LINE__)
Expand Down
Loading

0 comments on commit 7b7292b

Please sign in to comment.