PERFORCE change 136595 for review

Christian S.J. Peron csjp at FreeBSD.org
Sat Mar 1 19:06:37 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=136595

Change 136595 by csjp at 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;
 


More information about the p4-projects mailing list