summaryrefslogtreecommitdiffstats
path: root/ssl/s3_lib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-01-27 11:58:04 +0000
committerMatt Caswell <matt@openssl.org>2017-01-30 10:18:24 +0000
commit34f7245ba0a5381867e1ea0b7520106218e5bbb1 (patch)
tree709589a5c5baca561eaa7d651449bc95ce599e73 /ssl/s3_lib.c
parent3ae6b5f800a88a8dac109aeb3ea758469ab1cbb8 (diff)
Move the SSL3_CK_CIPHERSUITE_FLAG out of public header
The newly added SSL3_CK_CIPHERSUITE_FLAG shouldn't be in a public header file Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2259)
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r--ssl/s3_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index bdb4cb4144..c4d43526bd 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -3566,7 +3566,7 @@ const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p)
int ssl3_put_cipher_by_char(const SSL_CIPHER *c, WPACKET *pkt, size_t *len)
{
- if ((c->id & 0xff000000) != 0x03000000) {
+ if ((c->id & 0xff000000) != SSL3_CK_CIPHERSUITE_FLAG) {
*len = 0;
return 1;
}