diff options
author | David Benjamin <davidben@chromium.org> | 2015-11-07 00:13:40 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-11-07 00:44:06 +0300 |
commit | e6d1e5a8710f8fb0f3686be74113c0ebf09ceeae (patch) | |
tree | 820d2c22490814e7c4162ca51cefa4bca1f6d7bf /include/openssl/bio.h | |
parent | 16285ea8004890acbcd4e43b8fa8c5b4dd3e6909 (diff) |
Use typedef names, not struct names.
Not sure if we want to leave bio.h and bytestring.h's instance as-is, but the
evp.h ones are just baffling.
Change-Id: I485c2e355ba93764da0c4c72c48af48b055a8500
Reviewed-on: https://boringssl-review.googlesource.com/6454
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/bio.h')
-rw-r--r-- | include/openssl/bio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h index 8d475949..c88a3e18 100644 --- a/include/openssl/bio.h +++ b/include/openssl/bio.h @@ -797,7 +797,7 @@ struct bio_method_st { struct bio_st { const BIO_METHOD *method; /* bio, mode, argp, argi, argl, ret */ - long (*callback)(struct bio_st *, int, const char *, int, long, long); + long (*callback)(BIO *, int, const char *, int, long, long); char *cb_arg; /* first argument for the callback */ /* init is non-zero if this |BIO| has been initialised. */ @@ -816,7 +816,7 @@ struct bio_st { void *ptr; /* next_bio points to the next |BIO| in a chain. This |BIO| owns a reference * to |next_bio|. */ - struct bio_st *next_bio; /* used by filter BIOs */ + BIO *next_bio; /* used by filter BIOs */ size_t num_read, num_write; }; |