diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-04-29 22:37:12 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-04-29 22:37:12 +0000 |
commit | 08557cf22cd7c337d7430c32fb21ed29a77a8131 (patch) | |
tree | ad9cc2e9adf7a39b99ddbe69434a3d79c7cc482b /apps/ciphers.c | |
parent | c4d162873f832cae400b8fee81fc826cb06d55a8 (diff) | |
download | openssl-08557cf22cd7c337d7430c32fb21ed29a77a8131.zip openssl-08557cf22cd7c337d7430c32fb21ed29a77a8131.tar.gz openssl-08557cf22cd7c337d7430c32fb21ed29a77a8131.tar.bz2 |
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.
Diffstat (limited to 'apps/ciphers.c')
-rw-r--r-- | apps/ciphers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ciphers.c b/apps/ciphers.c index 3d4c60d..5f2b739 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); |