diff options
author | jsing <> | 2014-07-13 23:06:18 +0000 |
---|---|---|
committer | jsing <> | 2014-07-13 23:06:18 +0000 |
commit | 52d7e6dec2e1e75fcac1a3f02ca708176e0c1ee9 (patch) | |
tree | c72e6ad789780361a170fe3440164af5e61d85ed /src/lib/libressl/ressl.h | |
parent | 02332d5d0dcdf23c14ec45f52fb95d580089f34a (diff) | |
download | openbsd-52d7e6dec2e1e75fcac1a3f02ca708176e0c1ee9.tar.gz openbsd-52d7e6dec2e1e75fcac1a3f02ca708176e0c1ee9.tar.bz2 openbsd-52d7e6dec2e1e75fcac1a3f02ca708176e0c1ee9.zip |
Split the context allocation out from the configuration. This will allow
us to properly report errors that occur during configuration processing.
Discussed with tedu@
Diffstat (limited to 'src/lib/libressl/ressl.h')
-rw-r--r-- | src/lib/libressl/ressl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libressl/ressl.h b/src/lib/libressl/ressl.h index a1d220028f..766335aa0c 100644 --- a/src/lib/libressl/ressl.h +++ b/src/lib/libressl/ressl.h | |||
@@ -36,7 +36,8 @@ void ressl_config_set_verify_depth(struct ressl_config *config, | |||
36 | void ressl_config_insecure_no_verify(struct ressl_config *config); | 36 | void ressl_config_insecure_no_verify(struct ressl_config *config); |
37 | void ressl_config_verify(struct ressl_config *config); | 37 | void ressl_config_verify(struct ressl_config *config); |
38 | 38 | ||
39 | struct ressl *ressl_new(struct ressl_config *config); | 39 | struct ressl *ressl_new(void); |
40 | int ressl_configure(struct ressl *ctx, struct ressl_config *config); | ||
40 | void ressl_reset(struct ressl *ctx); | 41 | void ressl_reset(struct ressl *ctx); |
41 | void ressl_free(struct ressl *ctx); | 42 | void ressl_free(struct ressl *ctx); |
42 | 43 | ||