Changeset 5284

Show
Ignore:
Timestamp:
02/19/08 13:03:07 (11 months ago)
Author:
morris
Message:

Use EVP_CIPHER_CTX_key_length()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libwired/trunk/libwired/misc/wi-crypto.c

    r4797 r5284  
    603603 
    604604wi_uinteger_t wi_cipher_bits(wi_cipher_t *cipher) { 
    605         return EVP_CIPHER_key_length(&cipher->encrypt_ctx) * 8; 
     605        return EVP_CIPHER_CTX_key_length(&cipher->encrypt_ctx) * 8; 
    606606} 
    607607