diff options
| author | jsing <> | 2018-02-14 16:16:10 +0000 |
|---|---|---|
| committer | jsing <> | 2018-02-14 16:16:10 +0000 |
| commit | b6e16d28377ae3a4084d0c8e69a3125d5f3268a2 (patch) | |
| tree | 73d4e60c73a7a77bad6ef3749dff56b0959b2866 /src/lib/libssl/ssl.h | |
| parent | b2c4d697ffb1ac9268a3f4570da08bbfc27d18ef (diff) | |
| download | openbsd-b6e16d28377ae3a4084d0c8e69a3125d5f3268a2.tar.gz openbsd-b6e16d28377ae3a4084d0c8e69a3125d5f3268a2.tar.bz2 openbsd-b6e16d28377ae3a4084d0c8e69a3125d5f3268a2.zip | |
Provide SSL_CTX_get0_param() and SSL_get0_param().
Some applications that use X509_VERIFY_PARAM expect these to exist, since
they're also part of the OpenSSL 1.0.2 API.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index d431b175ad..7768f0a80f 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl.h,v 1.134 2017/08/30 16:24:21 jsing Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.135 2018/02/14 16:16:10 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -1336,10 +1336,11 @@ int SSL_set_purpose(SSL *s, int purpose); | |||
| 1336 | int SSL_CTX_set_trust(SSL_CTX *s, int trust); | 1336 | int SSL_CTX_set_trust(SSL_CTX *s, int trust); |
| 1337 | int SSL_set_trust(SSL *s, int trust); | 1337 | int SSL_set_trust(SSL *s, int trust); |
| 1338 | 1338 | ||
| 1339 | X509_VERIFY_PARAM *SSL_CTX_get0_param(SSL_CTX *ctx); | ||
| 1339 | int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm); | 1340 | int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm); |
| 1341 | X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl); | ||
| 1340 | int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm); | 1342 | int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm); |
| 1341 | 1343 | ||
| 1342 | |||
| 1343 | void SSL_free(SSL *ssl); | 1344 | void SSL_free(SSL *ssl); |
| 1344 | int SSL_accept(SSL *ssl); | 1345 | int SSL_accept(SSL *ssl); |
| 1345 | int SSL_connect(SSL *ssl); | 1346 | int SSL_connect(SSL *ssl); |
