Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2008 19:06:36 GMT
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 136595 for review
Message-ID:  <200803011906.m21J6anu065200@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=136595

Change 136595 by csjp@ibm01 on 2008/03/01 19:05:40

	Re-organize the crypto code a bit, introduce a header file
	and move structure definitions, prototyes etc into there.

Affected files ...

.. //depot/projects/trustedbsd/netauditd/crypto.c#3 edit
.. //depot/projects/trustedbsd/netauditd/crypto.h#1 add

Differences ...

==== //depot/projects/trustedbsd/netauditd/crypto.c#3 (text+ko) ====

@@ -24,15 +24,10 @@
  * SUCH DAMAGE.
  */
 #include <stdio.h>
+
 #include <openssl/ssl.h>
 
-struct crypto_context {
-	SSL_CTX		*c_ctx;
-	BIO		*c_bioerror;
-};
-
-#define	CRTYPO_CTX_CLIENT	1
-#define	CRYPTO_CTX_SERVER	2
+#include "crypto.h"
 
 static char	*crypto_pass;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803011906.m21J6anu065200>