summaryrefslogtreecommitdiffstats
path: root/apps/ciphers.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-05-11 12:56:38 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-05-11 12:56:38 +0000
commit74096890ba076de838c858f6beeda778480ef824 (patch)
tree256bd9364034352f169abe3676cfcd26558c9245 /apps/ciphers.c
parent889c2282a594de2eeeb4df43a68f24dc354b131a (diff)
Initial "opaque SSL" framework. If an application defines OPENSSL_NO_SSL_INTERN
all ssl related structures are opaque and internals cannot be directly accessed. Many applications will need some modification to support this and most likely some additional functions added to OpenSSL. The advantage of this option is that any application supporting it will still be binary compatible if SSL structures change. (backport from HEAD).
Diffstat (limited to 'apps/ciphers.c')
-rw-r--r--apps/ciphers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ciphers.c b/apps/ciphers.c
index 3d4c60db9e..5f2b739700 100644
--- a/apps/ciphers.c
+++ b/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);