diff options
Diffstat (limited to 'src/encrypt-sign.c')
| -rw-r--r-- | src/encrypt-sign.c | 18 | 
1 files changed, 9 insertions, 9 deletions
diff --git a/src/encrypt-sign.c b/src/encrypt-sign.c index 78286004..cb0ea619 100644 --- a/src/encrypt-sign.c +++ b/src/encrypt-sign.c @@ -1,19 +1,19 @@  /* encrypt-sign.c -  encrypt and verify functions     Copyright (C) 2000 Werner Koch (dd9jn)     Copyright (C) 2001, 2002, 2003, 2004 g10 Code GmbH -  +     This file is part of GPGME. -  +     GPGME is free software; you can redistribute it and/or modify it     under the terms of the GNU Lesser General Public License as     published by the Free Software Foundation; either version 2.1 of     the License, or (at your option) any later version. -    +     GPGME is distributed in the hope that it will be useful, but     WITHOUT ANY WARRANTY; without even the implied warranty of     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     Lesser General Public License for more details. -    +     You should have received a copy of the GNU Lesser General Public     License along with this program; if not, write to the Free Software     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA @@ -80,7 +80,7 @@ encrypt_sign_start (gpgme_ctx_t ctx, int synchronous, gpgme_key_t recp[],    _gpgme_engine_set_status_handler (ctx->engine,  				    encrypt_sign_status_handler, ctx); -   +    return _gpgme_engine_op_encrypt_sign (ctx->engine, recp, flags, plain,  					cipher, ctx->use_armor,  					ctx /* FIXME */); @@ -102,7 +102,7 @@ gpgme_op_encrypt_sign_start (gpgme_ctx_t ctx, gpgme_key_t recp[],    if (!ctx)      return TRACE_ERR (gpg_error (GPG_ERR_INV_VALUE)); -   +    if (_gpgme_debug_trace () && recp)      {        int i = 0; @@ -110,7 +110,7 @@ gpgme_op_encrypt_sign_start (gpgme_ctx_t ctx, gpgme_key_t recp[],        while (recp[i])  	{  	  TRACE_LOG3 ("recipient[%i] = %p (%s)", i, recp[i], -		      (recp[i]->subkeys && recp[i]->subkeys->fpr) ?  +		      (recp[i]->subkeys && recp[i]->subkeys->fpr) ?  		      recp[i]->subkeys->fpr : "invalid");  	  i++;  	} @@ -136,7 +136,7 @@ gpgme_op_encrypt_sign (gpgme_ctx_t ctx, gpgme_key_t recp[],    if (!ctx)      return TRACE_ERR (gpg_error (GPG_ERR_INV_VALUE)); -   +    if (_gpgme_debug_trace () && recp)      {        int i = 0; @@ -144,7 +144,7 @@ gpgme_op_encrypt_sign (gpgme_ctx_t ctx, gpgme_key_t recp[],        while (recp[i])  	{  	  TRACE_LOG3 ("recipient[%i] = %p (%s)", i, recp[i], -		      (recp[i]->subkeys && recp[i]->subkeys->fpr) ?  +		      (recp[i]->subkeys && recp[i]->subkeys->fpr) ?  		      recp[i]->subkeys->fpr : "invalid");  	  i++;  	}  | 
