summaryrefslogtreecommitdiff
path: root/main/openssl/apps/ciphers.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssl/apps/ciphers.c')
-rw-r--r--main/openssl/apps/ciphers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/openssl/apps/ciphers.c b/main/openssl/apps/ciphers.c
index 3d4c60db..5f2b7397 100644
--- a/main/openssl/apps/ciphers.c
+++ b/main/openssl/apps/ciphers.c
@@ -196,7 +196,7 @@ int MAIN(int argc, char **argv)
if (Verbose)
{
- unsigned long id = c->id;
+ unsigned long id = SSL_CIPHER_get_id(c);
int id0 = (int)(id >> 24);
int id1 = (int)((id >> 16) & 0xffL);
int id2 = (int)((id >> 8) & 0xffL);