aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-util.c')
-rw-r--r--src/assuan-util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/assuan-util.c b/src/assuan-util.c
index d12277f..6539330 100644
--- a/src/assuan-util.c
+++ b/src/assuan-util.c
@@ -5,7 +5,7 @@
*
* Assuan 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
+ * published by the Free Software Foundation; either version 3 of
* the License, or (at your option) any later version.
*
* Assuan is distributed in the hope that it will be useful, but
@@ -14,9 +14,7 @@
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- * USA.
+ * License along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include <config.h>
@@ -152,6 +150,7 @@ assuan_set_flag (assuan_context_t ctx, assuan_flag_t flag, int value)
switch (flag)
{
case ASSUAN_NO_WAITPID: ctx->flags.no_waitpid = value; break;
+ case ASSUAN_CONFIDENTIAL: ctx->confidential = value; break;
}
}
@@ -164,6 +163,7 @@ assuan_get_flag (assuan_context_t ctx, assuan_flag_t flag)
switch (flag)
{
case ASSUAN_NO_WAITPID: return ctx->flags.no_waitpid;
+ case ASSUAN_CONFIDENTIAL: return ctx->confidential;
}
return 0;
}