Removed checks for sig verification flag on gpg_sig info related functions.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@255 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
@@ -764,9 +764,10 @@ fko_get_gpg_signature_fpr(fko_ctx_t ctx, char **fpr)
|
||||
return(FKO_ERROR_WRONG_ENCRYPTION_TYPE);
|
||||
|
||||
/* Make sure we are supposed to verify signatures.
|
||||
*/
|
||||
* --DSS don't think we need to do this
|
||||
if(ctx->verify_gpg_sigs == 0)
|
||||
return(FKO_ERROR_GPGME_SIGNATURE_VERIFY_DISABLED);
|
||||
*/
|
||||
|
||||
/* Make sure we have a signature to work with.
|
||||
*/
|
||||
@@ -796,9 +797,10 @@ fko_get_gpg_signature_id(fko_ctx_t ctx, char **id)
|
||||
return(FKO_ERROR_WRONG_ENCRYPTION_TYPE);
|
||||
|
||||
/* Make sure we are supposed to verify signatures.
|
||||
*/
|
||||
* --DSS don't think we need to do this
|
||||
if(ctx->verify_gpg_sigs == 0)
|
||||
return(FKO_ERROR_GPGME_SIGNATURE_VERIFY_DISABLED);
|
||||
*/
|
||||
|
||||
/* Make sure we have a signature to work with.
|
||||
*/
|
||||
@@ -828,9 +830,10 @@ fko_get_gpg_signature_summary(fko_ctx_t ctx, int *sigsum)
|
||||
return(FKO_ERROR_WRONG_ENCRYPTION_TYPE);
|
||||
|
||||
/* Make sure we are supposed to verify signatures.
|
||||
*/
|
||||
* --DSS don't think we need to do this
|
||||
if(ctx->verify_gpg_sigs == 0)
|
||||
return(FKO_ERROR_GPGME_SIGNATURE_VERIFY_DISABLED);
|
||||
*/
|
||||
|
||||
/* Make sure we have a signature to work with.
|
||||
*/
|
||||
@@ -860,9 +863,10 @@ fko_get_gpg_signature_status(fko_ctx_t ctx, int *sigstat)
|
||||
return(FKO_ERROR_WRONG_ENCRYPTION_TYPE);
|
||||
|
||||
/* Make sure we are supposed to verify signatures.
|
||||
*/
|
||||
* --DSS don't think we need to do this
|
||||
if(ctx->verify_gpg_sigs == 0)
|
||||
return(FKO_ERROR_GPGME_SIGNATURE_VERIFY_DISABLED);
|
||||
*/
|
||||
|
||||
/* Make sure we have a signature to work with.
|
||||
*/
|
||||
@@ -894,9 +898,10 @@ fko_gpg_signature_id_match(fko_ctx_t ctx, const char *id, unsigned char *result)
|
||||
return(FKO_ERROR_WRONG_ENCRYPTION_TYPE);
|
||||
|
||||
/* Make sure we are supposed to verify signatures.
|
||||
*/
|
||||
* --DSS don't think we need to do this
|
||||
if(ctx->verify_gpg_sigs == 0)
|
||||
return(FKO_ERROR_GPGME_SIGNATURE_VERIFY_DISABLED);
|
||||
*/
|
||||
|
||||
/* Make sure we have a signature to work with.
|
||||
*/
|
||||
@@ -928,9 +933,10 @@ fko_gpg_signature_fpr_match(fko_ctx_t ctx, const char *id, unsigned char *result
|
||||
return(FKO_ERROR_WRONG_ENCRYPTION_TYPE);
|
||||
|
||||
/* Make sure we are supposed to verify signatures.
|
||||
*/
|
||||
* --DSS don't think we need to do this
|
||||
if(ctx->verify_gpg_sigs == 0)
|
||||
return(FKO_ERROR_GPGME_SIGNATURE_VERIFY_DISABLED);
|
||||
*/
|
||||
|
||||
/* Make sure we have a signature to work with.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user