Module Name:    src
Committed By:   christos
Date:           Sun Nov 25 15:29:45 UTC 2012

Modified Files:
        src/sys/sys: cprng.h

Log Message:
add an snprintb format.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/sys/cprng.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/cprng.h
diff -u src/sys/sys/cprng.h:1.5 src/sys/sys/cprng.h:1.6
--- src/sys/sys/cprng.h:1.5	Mon Apr 16 22:50:39 2012
+++ src/sys/sys/cprng.h	Sun Nov 25 10:29:45 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: cprng.h,v 1.5 2012/04/17 02:50:39 tls Exp $ */
+/*	$NetBSD: cprng.h,v 1.6 2012/11/25 15:29:45 christos Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -92,6 +92,10 @@ typedef struct _cprng_strong {
 #define CPRNG_INIT_ANY		0x00000001
 #define CPRNG_REKEY_ANY		0x00000002
 #define CPRNG_USE_CV		0x00000004
+#define CPRNG_FMT	"\177\020\
+b\0INIT_ANY\0\
+b\1REKEY_ANY\0\
+b\2USE_CV\0"
 
 cprng_strong_t *cprng_strong_create(const char *const, int, int);
 

Reply via email to