diff options
author | Emilia Kasper <emilia@openssl.org> | 2016-02-01 15:26:18 +0100 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2016-02-01 16:21:57 +0100 |
commit | b69817449315f3818a8472468b3328ea755819db (patch) | |
tree | bb2abb48ce582d6d9b8fdc6e216ee0028deff817 /apps/s_server.c | |
parent | 0c787647ded59a81311d905024bc93df5d3a061c (diff) | |
download | openssl-b69817449315f3818a8472468b3328ea755819db.tar.gz |
constify PACKET
PACKET contents should be read-only. To achieve this, also
- constify two user callbacks
- constify BUF_reverse.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/s_server.c')
-rw-r--r-- | apps/s_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index 9d9cb241be..6467060c0f 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -3216,7 +3216,7 @@ static int add_session(SSL *ssl, SSL_SESSION *session) return 0; } -static SSL_SESSION *get_session(SSL *ssl, unsigned char *id, int idlen, +static SSL_SESSION *get_session(SSL *ssl, const unsigned char *id, int idlen, int *do_copy) { simple_ssl_session *sess; |