aboutsummaryrefslogtreecommitdiffstats
path: root/util/iobuf.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-11-25 11:55:58 +0000
committerWerner Koch <[email protected]>1998-11-25 11:55:58 +0000
commit71134011e3dc4beec17306c797b72d37aa2f52da (patch)
treed717032e418f5b93bb63b560913b142e168d64d3 /util/iobuf.c
parentRestructured the RNG source and add support for loadable (diff)
downloadgnupg-71134011e3dc4beec17306c797b72d37aa2f52da.tar.gz
gnupg-71134011e3dc4beec17306c797b72d37aa2f52da.zip
Some experimental support for other random gatheres
Diffstat (limited to '')
-rw-r--r--util/iobuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/iobuf.c b/util/iobuf.c
index e1b62cfc2..d58a8e40d 100644
--- a/util/iobuf.c
+++ b/util/iobuf.c
@@ -756,7 +756,7 @@ iobuf_pop_filter( IOBUF a, int (*f)(void *opaque, int control,
return rc;
}
/* and tell the filter to free it self */
- if( (rc = b->filter(b->filter_ov, IOBUFCTRL_FREE, b->chain,
+ if( b->filter && (rc = b->filter(b->filter_ov, IOBUFCTRL_FREE, b->chain,
NULL, &dummy_len)) ) {
log_error("IOBUFCTRL_FREE failed: %s\n", g10_errstr(rc) );
return rc;