diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-04-16 13:25:36 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2012-04-16 13:25:36 +0200 |
commit | aaf12f3264d8fa96c65a18efad8161368200f8e3 (patch) | |
tree | 05a9c405af9f5c0e10b6ed6ebbb86ff5fbb8013f /dst/dst_api.c | |
parent | 402b4a6e3f8c2f42fe326b0b90c5311d2edbb6f3 (diff) | |
parent | aa161a719e968da4be1a97b2b7ccf312dafad3dc (diff) |
Diffstat (limited to 'dst/dst_api.c')
-rw-r--r-- | dst/dst_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dst/dst_api.c b/dst/dst_api.c index 8925c66..7eac3a8 100644 --- a/dst/dst_api.c +++ b/dst/dst_api.c @@ -1,10 +1,11 @@ #ifndef LINT -static const char rcsid[] = "$Header: /proj/cvs/prod/DHCP/dst/dst_api.c,v 1.9 2009-10-29 00:46:48 sar Exp $"; +static const char rcsid[] = "$Header: /proj/cvs/prod/DHCP/dst/dst_api.c,v 1.9.6.1 2012-04-11 15:43:55 sar Exp $"; #endif /* * Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc. * Portions Copyright (c) 2007,2009 by Internet Systems Consortium, Inc. ("ISC") + * Portions Copyright (c) 2012 by Internet Systems Consortium, Inc. ("ISC") * * Permission to use, copy modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -342,7 +343,7 @@ dst_read_key(const char *in_keyname, const unsigned in_id, in_alg)); return (NULL); } - if ((type && (DST_PUBLIC | DST_PRIVATE)) == 0) + if ((type & (DST_PUBLIC | DST_PRIVATE)) == 0) return (NULL); if (in_keyname == NULL) { EREPORT(("dst_read_private_key(): Null key name passed in\n")); |