commit | ca878dbaa51b025c83c138956ab52f82e319dd02 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Mar 24 12:13:30 2015 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Mar 25 21:37:15 2015 +0100 |
tree | 3c1d9a7221d8197b41be5d40845e78fc2a155e73 | |
parent | 9325b26b42989592cab7b0bee28baf7a005e17db [diff] [blame] |
Make md_info_t an opaque structure - more freedom for us to change it in the future - enforces hygiene - performance impact of making accessors no longer inline should really be negligible
diff --git a/library/pk.c b/library/pk.c index af4a302..f083b86 100644 --- a/library/pk.c +++ b/library/pk.c
@@ -166,7 +166,7 @@ if( ( md_info = md_info_from_type( md_alg ) ) == NULL ) return( -1 ); - *hash_len = md_info->size; + *hash_len = md_get_size( md_info ); return( 0 ); }