From 3e0e8f884f1ed37e120beeb57aa7cd79e3c145a0 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 11 Aug 1998 17:29:34 +0000 Subject: bug fix release --- g10/revoke.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'g10/revoke.c') diff --git a/g10/revoke.c b/g10/revoke.c index c78d79c85..278bdca35 100644 --- a/g10/revoke.c +++ b/g10/revoke.c @@ -142,10 +142,8 @@ gen_revoke( const char *uname ) if( !opt.armor ) tty_printf("ASCII armored output forced.\n"); - if( !(out = open_outfile( NULL, 0 )) ) { - rc = G10ERR_CREATE_FILE; + if( (rc = open_outfile( NULL, 0, &out )) ) goto leave; - } afx.what = 1; afx.hdrlines = "Comment: A revocation certificate should follow\n"; -- cgit v1.2.3