From b777e41ccd09ed9202d38e4506a31b3e5780b098 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Wed, 13 Oct 2010 23:10:28 +0200 Subject: Automatically initialize NSS on first use. --- include/ncrypto/ncrypto.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/ncrypto/ncrypto.h b/include/ncrypto/ncrypto.h index e47b46c..25cc285 100644 --- a/include/ncrypto/ncrypto.h +++ b/include/ncrypto/ncrypto.h @@ -40,6 +40,10 @@ Red Hat author: Miloslav Trmač */ /* Global state */ +/* A program should pair calls of ncr_open () with ncr_close (). In absence + of ncr_open (), the library will be initialized automatically, and + ncr_close () will deinitialize it. */ + CK_RV ncr_open (void); CK_RV ncr_close (void); -- cgit