Commit e70f1d94 authored by Joel Martin's avatar Joel Martin

Remove left over record code. Squelch compile warnings

parent f61274c8
...@@ -56,6 +56,10 @@ ...@@ -56,6 +56,10 @@
# define md5_read_ctx __md5_read_ctx # define md5_read_ctx __md5_read_ctx
# define md5_stream __md5_stream # define md5_stream __md5_stream
# define md5_buffer __md5_buffer # define md5_buffer __md5_buffer
#else
/* Squelch compiler complaints */
void md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx);
void md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx);
#endif #endif
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
......
...@@ -14,7 +14,6 @@ typedef struct { ...@@ -14,7 +14,6 @@ typedef struct {
int handler_id; int handler_id;
int ssl_only; int ssl_only;
int daemon; int daemon;
char *record;
char *cert; char *cert;
} settings_t; } settings_t;
......
...@@ -273,13 +273,6 @@ int main(int argc, char *argv[]) ...@@ -273,13 +273,6 @@ int main(int argc, char *argv[])
case 'f': case 'f':
foreground = 1; foreground = 1;
break; break;
case 'r':
if ((fd = open(optarg, O_CREAT,
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) < -1) {
usage("Could not access %s\n", optarg);
}
close(fd);
break;
case 'c': case 'c':
settings.cert = realpath(optarg, NULL); settings.cert = realpath(optarg, NULL);
if (! settings.cert) { if (! settings.cert) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment