summaryrefslogtreecommitdiff
path: root/src/lib/libressl/ressl.h
diff options
context:
space:
mode:
authorjsing <>2014-07-13 23:17:29 +0000
committerjsing <>2014-07-13 23:17:29 +0000
commitf0fb01f34f52ec7de6858d5b4efc527f9c66c6af (patch)
tree10c93fe3f57aedfd81afcb7321f36d5a44350668 /src/lib/libressl/ressl.h
parent79eced8debfe34f878e9cef9de5b0286046a3ed1 (diff)
downloadopenbsd-f0fb01f34f52ec7de6858d5b4efc527f9c66c6af.tar.gz
openbsd-f0fb01f34f52ec7de6858d5b4efc527f9c66c6af.tar.bz2
openbsd-f0fb01f34f52ec7de6858d5b4efc527f9c66c6af.zip
Rename the context allocation from ressl_new to ressl_client, which makes
it completely obvious what the context is for. Ensure client functions are used on client contexts.
Diffstat (limited to 'src/lib/libressl/ressl.h')
-rw-r--r--src/lib/libressl/ressl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libressl/ressl.h b/src/lib/libressl/ressl.h
index 766335aa0c..e7e0a9c51b 100644
--- a/src/lib/libressl/ressl.h
+++ b/src/lib/libressl/ressl.h
@@ -36,7 +36,7 @@ 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(void); 39struct ressl *ressl_client(void);
40int ressl_configure(struct ressl *ctx, struct ressl_config *config); 40int ressl_configure(struct ressl *ctx, struct ressl_config *config);
41void ressl_reset(struct ressl *ctx); 41void ressl_reset(struct ressl *ctx);
42void ressl_free(struct ressl *ctx); 42void ressl_free(struct ressl *ctx);