summaryrefslogtreecommitdiff
path: root/src/lib/libressl/ressl.h
diff options
context:
space:
mode:
authorjsing <>2014-07-13 23:06:18 +0000
committerjsing <>2014-07-13 23:06:18 +0000
commit79eced8debfe34f878e9cef9de5b0286046a3ed1 (patch)
treec72e6ad789780361a170fe3440164af5e61d85ed /src/lib/libressl/ressl.h
parent26e3095e9324f538565557154d443f9db1ee80ac (diff)
downloadopenbsd-79eced8debfe34f878e9cef9de5b0286046a3ed1.tar.gz
openbsd-79eced8debfe34f878e9cef9de5b0286046a3ed1.tar.bz2
openbsd-79eced8debfe34f878e9cef9de5b0286046a3ed1.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.h3
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,
36void ressl_config_insecure_no_verify(struct ressl_config *config); 36void ressl_config_insecure_no_verify(struct ressl_config *config);
37void ressl_config_verify(struct ressl_config *config); 37void ressl_config_verify(struct ressl_config *config);
38 38
39struct ressl *ressl_new(struct ressl_config *config); 39struct ressl *ressl_new(void);
40int ressl_configure(struct ressl *ctx, struct ressl_config *config);
40void ressl_reset(struct ressl *ctx); 41void ressl_reset(struct ressl *ctx);
41void ressl_free(struct ressl *ctx); 42void ressl_free(struct ressl *ctx);
42 43