commit | 2adc40c346344d490713a497743bc63a93eecd5c | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Sep 03 13:54:12 2013 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Sep 03 19:20:55 2013 +0200 |
tree | f753c1fd548d8ad674e280329caab53fee2eae6f | |
parent | a235b5b5bd551172e0e41598c0b909119f3e2628 [diff] [blame] |
Split cipher_update_ad() out or cipher_reset()
diff --git a/library/pkcs12.c b/library/pkcs12.c index cc59d68..98ebd88 100644 --- a/library/pkcs12.c +++ b/library/pkcs12.c
@@ -187,7 +187,7 @@ if( ( ret = cipher_set_iv( &cipher_ctx, iv, cipher_info->iv_size ) ) != 0 ) goto exit; - if( ( ret = cipher_reset( &cipher_ctx, NULL, 0 ) ) != 0 ) + if( ( ret = cipher_reset( &cipher_ctx ) ) != 0 ) goto exit; if( ( ret = cipher_update( &cipher_ctx, data, len,