Browse Source

* Move ssl.{c,h} to libssl.{c,h}

Bryan Drewery 15 years ago
parent
commit
c06401e7ea
4 changed files with 7 additions and 7 deletions
  1. 1 1
      src/Makefile.in
  2. 2 2
      src/libssl.c
  3. 3 3
      src/libssl.h
  4. 1 1
      src/net.h

+ 1 - 1
src/Makefile.in

@@ -35,6 +35,7 @@ OBJS = auth.o \
 	EncryptedStream.o \
 	flags.o \
 	garble.o \
+	libssl.o \
 	log.o \
 	main.o \
 	match.o \
@@ -48,7 +49,6 @@ OBJS = auth.o \
 	shell.o \
 	socket.o \
 	sprintf.o \
-	ssl.o \
 	userent.o \
 	userrec.o \
 	users.o

+ 2 - 2
src/ssl.c → src/libssl.c

@@ -19,7 +19,7 @@
  */
 
 /*
- * ssl.c -- handles:
+ * libssl.c -- handles:
  *   libssl handling
  *
  */
@@ -31,7 +31,7 @@
 #include <bdlib/src/String.h>
 #include <bdlib/src/Array.h>
 
-#include "ssl.h"
+#include "libssl.h"
 
 void *libssl_handle = NULL;
 #ifdef EGG_SSL_EXT

+ 3 - 3
src/ssl.h → src/libssl.h

@@ -1,5 +1,5 @@
-#ifndef _SSL_H
-#define _SSL_H
+#ifndef _LIBSSL_H
+#define _LIBSSL_H
 
 #include "common.h"
 #include "dl.h"
@@ -40,4 +40,4 @@ extern char *tls_rand_file;
 #endif
 extern int ssl_use;
 
-#endif /* !_SSL_H */
+#endif /* !_LIBSSL_H */

+ 1 - 1
src/net.h

@@ -12,7 +12,7 @@
 #include <setjmp.h>
 #include <bdlib/src/String.h>
 
-#include "ssl.h"
+#include "libssl.h"
 
 namespace bd {
   class Stream;