Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/lib At the request of Al...



details:   https://anonhg.NetBSD.org/src/rev/bf36267fc055
branches:  trunk
changeset: 755731:bf36267fc055
user:      agc <agc%NetBSD.org@localhost>
date:      Fri Jun 18 00:20:28 2010 +0000

description:
At the request of Alan Horn, clarify the purpose of netpgp_get_info().

diffstat:

 crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3 |  17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r 188d9422b101 -r bf36267fc055 crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3
--- a/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3       Thu Jun 17 23:58:14 2010 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3       Fri Jun 18 00:20:28 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: libnetpgp.3,v 1.13 2010/05/07 16:29:09 agc Exp $
+.\" $NetBSD: libnetpgp.3,v 1.14 2010/06/18 00:20:28 agc Exp $
 .\"
 .\" Copyright (c) 2009,2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 5, 2010
+.Dd June 17, 2010
 .Dt LIBNETPGP 3
 .Os
 .Sh NAME
@@ -310,9 +310,20 @@
 .Pp
 The
 .Fn netpgp_get_info
-returns the information depending upon the
+returns the version or maintainer information depending upon the
 .Ar type
 argument.
+At the present time, two types are defined:
+.Dq version
+and
+.Dq maintainer .
+A failure to present a known
+.Ar type
+argument to
+.Fn netpgp_get_info
+will result in the string
+.Dq [unknown]
+being returned.
 .Sh SEE ALSO
 .Xr netpgp 1 ,
 .Xr ssl 3



Home | Main Index | Thread Index | Old Index