aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r--g10/mainproc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 4609d56f0..af50f6a58 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -715,8 +715,7 @@ print_notation_data( PKT_signature *sig )
const byte *p;
int seq = 0;
- while( (p = enum_sig_subpkt( sig->hashed_data, SIGSUBPKT_NOTATION,
- &n, &seq )) ) {
+ while( (p = enum_sig_subpkt (sig->hashed, SIGSUBPKT_NOTATION, &n, &seq))) {
if( n < 8 ) {
log_info(_("WARNING: invalid notation data found\n"));
return;
@@ -738,7 +737,7 @@ print_notation_data( PKT_signature *sig )
write_status_buffer ( STATUS_NOTATION_NAME, p , n1, 0 );
write_status_buffer ( STATUS_NOTATION_DATA, p+n1, n2, 20 );
}
- if( (p = parse_sig_subpkt( sig->hashed_data, SIGSUBPKT_POLICY, &n ) )) {
+ if( (p = parse_sig_subpkt (sig->hashed, SIGSUBPKT_POLICY, &n ) )) {
log_info(_("Policy: ") );
print_string( log_stream(), p, n, 0 );
putc( '\n', log_stream() );