diff options
| author | jsing <> | 2014-07-13 23:17:29 +0000 |
|---|---|---|
| committer | jsing <> | 2014-07-13 23:17:29 +0000 |
| commit | f0fb01f34f52ec7de6858d5b4efc527f9c66c6af (patch) | |
| tree | 10c93fe3f57aedfd81afcb7321f36d5a44350668 /src/lib/libressl/ressl.h | |
| parent | 79eced8debfe34f878e9cef9de5b0286046a3ed1 (diff) | |
| download | openbsd-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.h | 2 |
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, | |||
| 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(void); | 39 | struct ressl *ressl_client(void); |
| 40 | int ressl_configure(struct ressl *ctx, struct ressl_config *config); | 40 | int ressl_configure(struct ressl *ctx, struct ressl_config *config); |
| 41 | void ressl_reset(struct ressl *ctx); | 41 | void ressl_reset(struct ressl *ctx); |
| 42 | void ressl_free(struct ressl *ctx); | 42 | void ressl_free(struct ressl *ctx); |
