Module Name: src
Committed By: agc
Date: Fri Jun 18 00:20:28 UTC 2010
Modified Files:
src/crypto/external/bsd/netpgp/dist/src/lib: libnetpgp.3
Log Message:
At the request of Alan Horn, clarify the purpose of netpgp_get_info().
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 \
src/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3
diff -u src/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3:1.13 src/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3:1.14
--- src/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3:1.13 Fri May 7 16:29:09 2010
+++ src/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3 Fri Jun 18 00:20:28 2010
@@ -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