diff options
author | Bodo Möller <bodo@openssl.org> | 2000-01-26 22:36:55 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-01-26 22:36:55 +0000 |
commit | 52732b38da995490fa33f8062a25d37cd7e7abcc (patch) | |
tree | c3d0df61bde15db39ddec86dfc9774644fc47fea /ssl/ssl.h | |
parent | ada3cc4a8fb407c3ea6c399de03fd7e1084ae6c3 (diff) | |
download | openssl-52732b38da995490fa33f8062a25d37cd7e7abcc.tar.gz |
Some comments added, and slight code clean-ups.
Diffstat (limited to 'ssl/ssl.h')
-rw-r--r-- | ssl/ssl.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -595,7 +595,7 @@ struct ssl_st STACK_OF(SSL_CIPHER) *cipher_list; STACK_OF(SSL_CIPHER) *cipher_list_by_id; - /* These are the ones being used, the ones is SSL_SESSION are + /* These are the ones being used, the ones in SSL_SESSION are * the ones to be 'copied' into these ones */ EVP_CIPHER_CTX *enc_read_ctx; /* cryptographic state */ @@ -1108,7 +1108,9 @@ int SSL_version(SSL *ssl); int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx); int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, const char *CApath); +#define SSL_get0_session SSL_get_session /* just peek at pointer */ SSL_SESSION *SSL_get_session(SSL *ssl); +SSL_SESSION *SSL_get1_session(SSL *ssl); /* obtain a reference count */ SSL_CTX *SSL_get_SSL_CTX(SSL *ssl); void SSL_set_info_callback(SSL *ssl,void (*cb)()); void (*SSL_get_info_callback(SSL *ssl))(); |