commit | 8473f879847215b0571a608c0e5c7212877758bc | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu May 14 13:51:45 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu May 14 21:58:34 2015 +0200 |
tree | 7700b7163d3a538cde651d01ac6d18d5574685a9 | |
parent | 51f14be88838fdd6e79269a806c6062e53be0721 [diff] [blame] |
Rename cipher_init_ctx() to cipher_setup()
diff --git a/library/pkcs5.c b/library/pkcs5.c index 6163e9a..7564733 100644 --- a/library/pkcs5.c +++ b/library/pkcs5.c
@@ -198,7 +198,7 @@ goto exit; } - if( ( ret = mbedtls_cipher_init_ctx( &cipher_ctx, cipher_info ) ) != 0 ) + if( ( ret = mbedtls_cipher_setup( &cipher_ctx, cipher_info ) ) != 0 ) goto exit; if( ( ret = mbedtls_cipher_setkey( &cipher_ctx, key, 8 * keylen, (mbedtls_operation_t) mode ) ) != 0 )